![]() |
Update: It's all working beautifully at the moment. My members all love it - they like it better than TWT's hack.
In fact, the number of queries has been slashed by 90%. Why? Because now when members use the shoutbox to chat, all they are refreshing is the new shoubox.php file in an iframe, rather than refreshing the previous TWT's shoutbox.php file which included headers etc. as well as 20 queries and a whole lot of other stuff. Thanks for the nice port. :) You can move this to the "Full Releases" once you update your install text files. |
Do you mind posting in this thread what I should do to upgrade to 1.2.2? Just tell me what to add to the templatesused bits in case I'm missing something. :)
|
here is the start of the shoutbox.php file upgraded to 1.2.2 :
PHP Code:
PHP Code:
|
Thanks.
Is there a way to use the member's timeoffset so that the time stamp works for the member's timezone? |
errr, what a nice idea... but wouldn't it be a little bit confusing
if a shout under another shout didnt have timestamps following each other ??? [high]* p0s3id0n notes the idea on a piece of paper for the 1.3 release ;).[/high] |
No, no, all the timestamps will be offset to the user's timezone who is viewing the shoutbox. It would be good to have since I know when a member has posted according to my timezone, instead of the server timezone. TWT's shoutbox had this working fine using the - $timeoffset variable.
|
I tried to implement this with your hack, but the way you parse the date and time is different... :)
|
I've made it so that there is a limit of smilies a person can post in the shoutbox. This is to prevent smilie spamming. :)
In shoutbox.php, find: PHP Code:
PHP Code:
shoutbox_error with these contents: Code:
{htmldoctype} if (countchar($parsey,"<img")>5) { |
Now if only I can get the timeoffset thing to work... anyone has any clue?
|
Another tip for installers - instead of manually having to ban users in the shoutbox, to automatically ban users who you have already banned from the forums, you can do this:
In shoutbox.php, find: PHP Code:
PHP Code:
|
All times are GMT. The time now is 04:41 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:
|