![]() |
hmm...thanks...but...
when i type it on the shoutbox, i get this * loves hockey it doesn't show the username. also, on the index page, it shows "/ me" instead of the username on the "latest hack" table. any ideas?? BTW, TWT, you got a great site! |
Just curious, how do I make the smilies show up on the main page of the boards. http://www.finheaven.com/boardvb2/
Note that the smilies do show up on the shoutbox page, just not the main forum page. |
Also, there is an idiot on our board that likes to post LOOOOONG shouts, is there a way to make the forum home only display like the first 20 characters of the shout on the forum home?
Thanks in advance! |
How do I do this part???
CREATE TABLE `shoutbox` ( `shoutid` int(11) NOT NULL auto_increment, `userid` int(11) NOT NULL default '0', `shout_text` text NOT NULL, `timestamp` int(11) NOT NULL default '0', PRIMARY KEY (`shoutid`) ) TYPE=MyISAM; |
Ask your host for command-line MySQL access, or enter it using a MySQL script like phpMyAdmin. If that fails, just ask your host how you can execute a query on your DB.
|
Thanks for the hack TWTCommish
|
Or use FireFly's SQL hack :)
|
This is great... it works fine... but is there any way i could have pop up (like on the random quote hack) where users can submit a shout out from the forumhome???
Thanks In Advance - Mist |
Yeah, it's perfectly possible...but a little bit of an annoyance. How badly do you want it?
|
its just a thought... i dont need it ya kno... but i'd like it as i feel it would make a good addition to this hack ...
but if ure busy i wont be heartbroken if you dont make it ;) :D |
How do I make it so that my forum takes up 75% of the space, on the left, and the shoutbox takes up the rest of the space, on the right?
|
...is it possible to add a function to enable uses only to post once every 60 seconds?
Otherwise, this has made a huge impact on my board in a positive way! Thank you! |
Weird.
When shouting it goes to the webservers root and doesn't stay in the forums root :( Any solutions? |
firewars: in your "shoutbox_postshout" template, replace "shoutbox.php" in the form's action attribute with "$bburl/shoutbox.php" -- I think that ought to do it.
HLodder: use the attached shoutbox.php file to prevent users from shouting more than once every 60 seconds. It's just a primitive little thing I threw together, but it works...I think. :D All it does is ignore their shout if it's been less than 60 seconds. No error or anything...this is quick and dirty at it's best. :D |
Chris,
Thanks for this. Very much appricated and now in use!!! Cheers. Harvey. |
TWTCommish:
Thanks, but before applying your fix I thought about it and then I was sure it should work as it's in the same directory, but: There is a slash (/) before it which makes it use the directory above the $bburl-directory and thus using root. Thanks for telling me where to look, though: it works like a charm. Impressive hack :) |
Does anyone know how to change the timeformat?
I'm not talking about $time_posted, I was able to change that. I am talking about $timestamp which is used in the forumhome_shoutbox-template. Any idea? |
It's simple... find this line in your index.php file:
PHP Code:
|
Can I ask, are you planning to release a later version of this hack and if so, can you offer any insight on what may be included?
Thanks!!! |
Yeah, I am, but not for awhile yet. I've detailed potential features in earlier posts. I don't feel like diggin' 'em up just now, though. I'll get back to you later. :D (sorry, I'm lazy, I guess)
|
One more thing:
How would I "echo" a letter (m) in the same function? As the function recognizes m as a part of the datefunction and thus returns a value. Thanks so far :) |
Since it recognizes that letter, you'll just have to add the letter in afterwards, sorry to say. You might need two variables as a result.
|
Any idea how to? ;)
Sorry for keeping asking you, I appreciate your help :) |
Nevermind, my mistake: just put a backslash before the "m" and it should be treated literally.
|
Thanks, it works like a charm :D
|
sorry .....I realise this hack is a bit old, but I need some help.
Is there any way where I could limit the amount of words/letters and smillies used in a shout-out ??? Unfortunately there are some people that abuse the function, and I hate to remove this wonderful hack because of those very few people. -thanks in advance! |
Actually, this hack is less than a month old. :)
Yes, you could limit the total number of characters in each shout. How many characters would you like to limit it to? |
Could you just tell me/us the code so we can define the max. chars ourselves?
Thank you :) |
*sigh* You can define it yourselves anyway, but I'd rather have an actual digit to stick there for now, which you can then modify at your leisure.
Whatever...I'll just wing it. |
Something between 500 and 750 maybe?
|
awesome thanks! :)
how bout 2 smilies and 300 characters/letters. Would that be possible? |
The character limit is easy enough, but the smilie thing is not. I just don't know that part of the system well enough.
|
then i guess i should remove the smillies. but thats alright.
would I have to edit the shoutbox.php to do that? |
That depends on what you mean. Do you want to just remove the clickable smilies, or do you want the vB Code parsing turned off?
|
i would like the vB Code parsing turned off. that way if people type : ) (without the space) then the smillie wouldnt appear.
but since the vB Code parsing is turned off, then there is no reason to have the smillies on the page, since they cant be used. so i guess I would have to remove both of them. |
Well, it'll turn off ALL vB Code parsing, just so you know. Not just smilies.
Anyhoo, open shoutbox.php and REMOVE this: PHP Code:
Code:
<br/>$smiliebits |
thanks that did it! :)
|
Hi,
I am just testing out vbportals, and in this case i want to see the last 10 Shouts and maybe a "Quick-Shout-Box" at the End of a Box. Has someone got this working or any Idea? |
the best shoutbox out there! I can't believe I missed it!
|
ability to make a shout sticky! For example today is father day, I'd like to wish happy fathers day to all the dads members and keep that up all day long on front page. Once you unstick, then the last one takes over :classic:
|
All times are GMT. The time now is 08:14 PM. |
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:
|