Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Shoutbox Announcer - Easy Integration (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Shoutbox Announcer - Easy Integration
#29708
Shoutbox Announcer - Easy Integration 11 Months, 1 Week ago  
I have this code to easily add shoutbox announcer support

it wouldnt be much harder to add options in control panel for:
version of shoutbox
announcement name (system, forum, ect)
link to cb & cb Itemid

for sites with SMO shoutbox:
[code:1]if ($database->query())
{
$pid = $database->insertId();

// shout about it
$shout='[iurl='.sefRelToAbs('index.php?option=com_comprofiler&task=userProfile&user='.$my->id.'&Itemid=261').']'.$my->username.'[/iurl] Just Posted [iurl='.sefRelToAbs(JB_LIVEURLREL.'&func=view&catid=$catid&id=$pid').'#$pid'.']'.$subject.'[/iurl] in Forum!';
$query = "INSERT INTO #__liveshoutbox (time,name,text,url) VALUES ('".time()."','Forum','".mysql_real_escape_string($shout)."','')";
$database->setQuery($query);
$res = $database->query();

// now increase the #s in categories
[/code:1]

for sites with risp shoutbox use this:
[code:1]if ($database->query())
{
$pid = $database->insertId();

// shout about it
$shout=$my->username.' Just Posted '.$subject.' in Forum!'.sefRelToAbs(JB_LIVEURLREL.'&func=view&catid=$catid&id=$pid').'#$pid';
$query = "INSERT INTO #__liveshoutbox (time,name,text,url) VALUES ('".time()."','Forum','".mysql_real_escape_string($shout)."','')";
$database->setQuery($query);
$res = $database->query();

// now increase the #s in categories
[/code:1]

contact me for more info about shoutbox announcer, as adding integration to more components is a big goal.

SoM
steveometer (User)
Steve Alan thought of that
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Steve-O-Meter.com Location: St Louis, MO Birthdate: 1977-08-08
Logged Logged
 
 
The administrator has disabled public write access.  
#29717
Re:Shoutbox Announcer - Easy Integration 11 Months, 1 Week ago  
Any demo of what this looks like?
grumblemarc (User)
Platinum Boarder
Posts: 3557
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
The administrator has disabled public write access.  
#29758
Re:Shoutbox Announcer - Easy Integration 11 Months, 1 Week ago  
the forum at my site only just recently reopened, but you can make an acct on my site and post, and see what it does

basically it would say (for this post)

[code:1]Forums: [u]steve-o-meter[/u] Just Posted [u]Re:«»Shoutbox Announcer - Easy Integration[/u] in Forums[/code:1]

the risp one would look like

[code:1]Forums: steve-o-meter Just Posted Re:«»Shoutbox Announcer - Easy Integration in Forums /code]

SoM [/code:1]
steveometer (User)
Steve Alan thought of that
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Steve-O-Meter.com Location: St Louis, MO Birthdate: 1977-08-08
Logged Logged
 
Last Edit: 2007/11/01 21:49 By steveometer.
 
 
The administrator has disabled public write access.  
#30006
Re:Shoutbox Announcer - Easy Integration 11 Months, 1 Week ago  
Im lost on where this code hack goes.

Thanks

Jason
jasonrhl (User)
Junior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#30007
Re:Shoutbox Announcer - Easy Integration 11 Months, 1 Week ago  
this is my patched post.php for FB1.0.3 default template

File Attachment:
File Name: post-5edd5dadb27afe689e2c7e971f1fb5a2.zip
File Size: 11828


SoM
steveometer (User)
Steve Alan thought of that
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Steve-O-Meter.com Location: St Louis, MO Birthdate: 1977-08-08
Logged Logged
 
Last Edit: 2007/11/04 02:49 By steveometer.
 
 
The administrator has disabled public write access.  
#30008
Re:Shoutbox Announcer - Easy Integration 11 Months, 1 Week ago  
this file is patched with a modified version that will pull the CB Itemid from the Db
yet again this is the default template post file

File Attachment:
File Name: post-aa7ef0904dca9056e5058d3de7b5ccec.zip
File Size: 11860


SoM
steveometer (User)
Steve Alan thought of that
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Steve-O-Meter.com Location: St Louis, MO Birthdate: 1977-08-08
Logged Logged
 
 
The administrator has disabled public write access.  
#48507
Re:Shoutbox Announcer - Easy Integration 6 Months ago  
Hey,

Im using FireBoard 1.0.4 Stable

Is there a hack for this version? Attached is my post.php

Thanks for a great 'extension'..

Chris
chriscapetown (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top