|
SpiceFuse AJAX Shoutbox Beta for MyBB!
|
Posts: 1
Group: Registered
Joined: Nov 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
for those of you who don't know where to add "<sf_shoutbox>" look at this Image
Problem: the shoutbox won't appear.
FIX: make sure you have successfully transfered the plugin files and that "<sf_shoutbox>" has been written in the correct file.
Problem: the Shoutbox says "loading....".
FIX: make sure you have successfully transfered the java script file and that "<sf_shoutbox>" has been written in the correct file.
11-22-2008 11:05 AM
This post was last modified: 11-22-2008 04:27 PM by Pyon.
|
|
|
 |
Posts: 2
Group: Registered
Joined: Nov 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
NOTE: this works only on SOME templates, not all
11-29-2008 07:51 PM
|
|
|
 |
Posts: 13
Group: Registered
Joined: Nov 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
4a. Edit the template 'index' (under "Index Page Templates" template group), find:
Code:
{$header}
add below:
Code:
<sf_shoutbox>
4b. Edit the header template, and add <sf_shoutbox> somewhere towards the end, or wherever you would like the shoutbox to be displayed.
--------------
i went and done what you mentioned but it still hasnt gone to top of index instead it only shows after all forums i got ?
---------
using 1.4.3 MYBB with default template
11-30-2008 09:41 PM
This post was last modified: 11-30-2008 09:42 PM by technoman.
|
|
|
 |
Posts: 13
Group: Registered
Joined: Nov 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
http://www.postmeon.com/
my shoutbox is at bottom of page and i would like it at top ...
im newbie so i went by what you mentioned abouve and also looked at your photo and i did it but nothing changed
11-30-2008 09:51 PM
|
|
|
 |
Posts: 1
Group: Registered
Joined: Dec 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
it's working for mine now. thanks
12-05-2008 05:57 PM
This post was last modified: 12-06-2008 02:18 PM by bombastic.
|
|
|
 |
Posts: 2
Group: Registered
Joined: Dec 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
it keeps saying "loading" for ever. I followed intructions twice and doubled checked. I already tryed to reinstall it three times! But it still doesn't work. I'm using safari but I also tested it in FF without luck. I'm running MyBB 1.4.4. My URL is http://otakuflame.co.cc/forum it's on the buttom of the forum. (I also tried by putting it in the header, but it still doesn't work.)
12-14-2008 03:14 AM
|
|
|
 |
Posts: 1
Group: Registered
Joined: Dec 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
12-16-2008 10:11 PM
|
|
|
 |
Posts: 1
Group: Registered
Joined: Dec 2008
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
Shoutbox works fine, I inserted it in the beginning of footer.
I wonder (I'm PHP and MyBB lame) how can I enable shoutbox for members and hide from guests? What do I have to add?
P.S. I modified spicefuse_shoutbox.php inserting if($mybb->user['uid']) { ... in function sb_show_shouts($last_id = 0), but I'd like the whole shoutbox box to be hidden for guests. Into which function I have to add it?
12-24-2008 09:39 PM
This post was last modified: 12-25-2008 05:30 PM by monter.
|
|
|
 |
Posts: 3
Group: Registered
Joined: Jan 2009
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
I installed the SpiceFuse SEO mod, and since the shoutbox uses the old style links, i desided to update it so it also used the SEO links.
Here is what i did
Open %forumroot%/inc/plugins/spicefuse_shoutbox.php (be sure to make a BACKUP before doing this)
Find this code:
#1
$message = $parser->parse_message($row['shout_msg'], $parser_options);
add below this code:
$username = $row['username'];
Find this code:
#2
$username = '<a href="member.php?action=profile&uid='.intval($row['uid']).'"'.$extra.'>'.$row['username'].'</a>';
Replace with:
$username = '<a href="'.$username.'-u-'.intval($row['uid']).'.html">'.$row['username'].'</a>';
Then do it again (there is 2 places for each)
This removes the $extra var which I'm not sure what exactly it does, but my forum wasn't using it. Also it leaves uppercase letters in usernames. I don't see any issues with this, but if there are, you could replace #1's code like this:
$username = strtolower ($row['username']);
Also this edits the links in the "View Full Shoutbox" link.
Live preview of this working : http://mech.me/forum/index.php
I am not a php expert or mybb forum expert, but I am learning 
Enjoy the tweek.
Mech.me The Mechscape Search Engine!
01-09-2009 04:04 AM
This post was last modified: 01-09-2009 04:06 AM by mechme.
|
|
|
 |
Posts: 1
Group: Registered
Joined: Jan 2009
Status:
Offline
Reputation: 0
|
RE: SpiceFuse AJAX Shoutbox Beta for MyBB!
01-12-2009 01:39 PM
This post was last modified: 01-12-2009 09:26 PM by Staler.
|
|
|
 |
|
|