![]() |
In forumhome_shoutbox replace the $shout[shout_text] variable with your $shouts variable. I think that'll do it.
|
not sure where I put this
PHP Code:
|
That's the code you put in the index.php file instead of the code listed in the instructions. Stick it in place of that, and in the same spot. That should do it. :)
|
i installed this with vbhacker and it said everything installed right. but doesnt show on forumhome. and the $the_shoutbox is in forumhome.
|
Make sure it edited your index.php file successfully...and then, go shout. It needs at least one shout if it's going to display anything on your main forum page. :)
|
nevermind i fixed it. vbhacker didnt add the fourmhome_shoutbox
|
I put this in INDEX.PHP and my page is now WHite. Pure white, No forum ????
Quote:
|
Is that ALL you have in your index.php file? You're not supposed to replace the entire contents of it...
|
No no I just replaced this and the page was all white. Any reason why???
PHP Code:
Quote:
|
Quote:
I put this in the index.php and I just seen the page die on me so I had to say OH ship, so I am not sure what then to do,,,,,,, |
tweak you dont replace that do you?? I think it says add above that!
|
He's right: you don't remove that line. It should still be sitting there at the end of the file.
|
the line you replaced is the line that outputs the entire forumhome template, or in other words the entire page, if you delete that you won't get a page at all, you have to add it above it.
James |
Has anybody seen an increase of server load with this hack?
|
I love it..
|
Quote:
j/k |
It uses something like 20 queries per pageload. That ain't much at all, man. :)
|
Yet another awesome hack :D
|
i tried to install this hack acouple times and i keep getting a white page, and its not the same as the earlier problem.
someone please help |
You're not allowed to post any full vB files. Anyway, I don't know what's wrong...you shouldn't be getting a white page if you still have this line as the second-to-last in your /index.php file:
PHP Code:
|
sorry, i didnt know :(
|
Um, you should probably go back and edit your post so you can remove the attachment, then. :)
|
Chris, I just wanted to say again how truly solid this is :)
I had installed Sinecure's shoutbox and it took me 2 hours to customize it and make it work properly. I dropped yours in and bang it worked. Since users had been using Sinecure's, they were quite shocked when everything switched to the new one. In 1 hour there have been 200 shouts. The users love it, thank you again so much! :) |
Thanks very much - I'm glad you like it. My users love it, too. :)
|
No worries mate, good work deserves praise :)
Any plans for upgrades? (who's shouting, etc)? |
Yeah, I do plan, I think, to upgrade this script after awhile...assuming it continues to get this positive reaction. :) "Who's Shouting" is a very good idea...I guess it'd work a little bit like "Users Browsing this Forum"? I suppose I never thought of it because my board isn't big enough to warrant such a thing. And I've been busy with two other significant hacks. :D
I had a few other ideas, too:
|
Yeah, it would be just like the "Who's browsing this forum".
A few things I've noticed is that the breadcrumb doesnt' show up properly (http://www.ringquest.com/forums/shoutbox.php), and smilies don't show up in posts at all... I'd just like to say that I'm addicted to your hacks *L* Of the 20 odd new features this week, I think nearly half were yours :) One day I need to learn PHP *L* |
Open shoutbox.php, and find this:
PHP Code:
PHP Code:
PHP Code:
|
It now reads something like:
Code:
$color = ($num++ % 2 == 0) ? '{firstaltcolor}' : '{secondaltcolor}'; I mean, it's not a big deal but they would add lots of "ambience" ;) |
Try this:
Code:
$color = ($num++ % 2 == 0) ? '#F1F1F1' : '#DFDFDF'; |
ergh ergh ergh... :(
What am I doing wrong? |
That didn't work either, I take it?
|
:(
|
Ok, replace this...
PHP Code:
PHP Code:
|
Gorgeous! It worked :D
|
Excellent. :) Glad to hear it. Also in line for 2.0, assuming it gets that far: integration with the vBulletin Options page...much better if you can control the shouts per page and number of smilies generated, etc, right from the CP. It won't be too hard...but again...I'd rather bunch things a little. :)
|
Sounds good, I'd already integrated it though :)
PHP may be new, but it's still just scripting ;) |
any idea how to get firefly's "/ me" hack to work with this?
|
BTW, still lovin the shoutbox! becoming more and more popular every day!
|
Quote:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 12:53 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|