Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] vBShout v2.0 Details »»
[AJAX] vBShout v2.0
Version: 2.0, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 07-27-2005 Last Update: 04-22-2006 Installs: 1831
Uses Plugins Template Edits
Additional Files  
No support by the author.

[high]Staff Edit/Update[/high]

I have released an updated version of this hack (version 2.0.1), this version fixes some security issues with this hack. All version prior to this one allow users to insert html in their shouts, this can cause problems with them using html that breaks the site layout or malicious javascript. Download the new zip file (vBshout_fixed.zip) and upload the new vbshout.php file to patch/upgrade. If you want to manual instructions they are in the zip file, in the file bugfixes.txt

Second Staff update

I've uploaded a new version of this hack, dubbed '2.0.2'. This one should fix the html injection issues without breaking special characters. To upgrade, download the new zip file and upload the new vbshout.php file.

Please note that this only fixes the html injection issues. I do not use this hack on my own forum (although I've tested this on a client's board) so I will not be fixing the server load issues. I suggest you do not install this hack if you can't deal with the extra server load, as it's rather intensive.

- Brad

[high]End staff edit[/high]

Well, been a while since I've been to vb.org and released anything, thought i'd break the trend and whip up something quick while I have a little spare time.

A shoutbox as you would assume, a very simple one to start off with, but does include AJAX Technology, which pushes the shoutbox 1 step closer to live, messages from other people will appear with no refreshing, and so will yours that you post

A preview is below, i'd estimate a 50 second installation max

Primary Features:
- AJAX Technology (no refreshing)
- Administration control an display element options
- Fast format editor

Change Log::

- v1.1:
WOL (Who's Online) Correction

- v1.2:
New Posting Featurs (Bold/Italic/Underline/Colour/Font)
Admin Controls

- Change location/position of shoutbox
- Change number of shouts displayed
- Switch vbcode/similes on/off
- v1.3
Firefox javascript issue fixed
New Admin Controls

- Command Activation
- Swtch extra format options on/off
- Change position of editor (above/below messages)
New Commands

- /prune (Clears the shoutbox completely)
- /prune [username] (Clears all shouts posted by specified user)
- v1.4
Usergroup HTML Markup For Usernames
Clear Editor Button
Emoticons Pop Up Menu
Time display configurated to vBulletin settings
Username Links To Profile
New Admin Conrols

New vBShout Position (Directly Above Forums)
Banned Users
Banned Usergroups
Banned Permissions
Smilie Pop-Up Box Height
Smilie Pop-Up Box Width
New Commands

"/me" - Action message (all users are able to use this command)
/pruneshout [shout] - Deletes a single shout
- v1.5
Improved Smilies Display
XHTML 1.0 Transitional Valid (couple of errors fixed)
New Admin Options

Shoutbox Height
Smilies To Show
Shout Messages Order
Banned Permissions (fixed)
- v1.6
Bug Fixes:

- Unable to delete shouts that used /me command fixed
- Shouts being displayed from bottom-upwards only showed first 20 shouts
Automatically parses URL's

- v2.0
New Archive

- Displays shouts and pages
- Stats and top 10 shouters
- AJAX Edit/Delete (staff can edit/delete all shouts)
Enjoy,

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2032  
Old 07-27-2006, 12:55 PM
CrossBones's Avatar
CrossBones CrossBones is offline
 
Join Date: Oct 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrossBones
I know I read about problems with the shout box in Safari but can't locate the fix(s).

Buddy of mine just installed the shout Box and when I view in Safari I get this huge shout box.

The other problem is that the shouts don't register unless I refresh or it takes a minute or more. I mean it's AJAX right? Shouldn't that work fine in Safari or is there a setting or something that has to be clicked on?

I tried it in FF and it works fine on his site.

Isn't there a fix for the large shout box AND what's the deal with the slowness. I really need this hack but it has to work in Safari for me.

Any help or direction would be appreciated.
Any help on this guys? :cross-eyed:
Reply With Quote
  #2033  
Old 07-27-2006, 01:01 PM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe safari has problems with ajax and javascript actually.
Reply With Quote
  #2034  
Old 07-27-2006, 01:02 PM
rogersnm rogersnm is offline
 
Join Date: Apr 2006
Location: Cyberspace, UK
Posts: 729
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by khad
Is there any way to disable the AJAX part of this mod? I loved "Shoutbox Hack 1.04b". I'm guessing the only alternative is to use Chatbox Lite but I'm afraid what will happen if you can't moderate it.
Ajax is bit pretty well into it so in short you'd be coding a completely different mod if you were to do that. Don't get me wrong it would be possible but i would need ZT's permission...
Reply With Quote
  #2035  
Old 07-27-2006, 03:27 PM
smirnoff smirnoff is offline
 
Join Date: Aug 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, just wanna know whats append to my shoutbox

when i try to send some special caracters like " or & or > or < or / \ etc [ french forum] it senf me the ascii caracter
like &quot; &amp; smth like that
anyone can help me?
Reply With Quote
  #2036  
Old 07-27-2006, 11:07 PM
CrossBones's Avatar
CrossBones CrossBones is offline
 
Join Date: Oct 2004
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rogersnm
I believe safari has problems with ajax and javascript actually.
That doesn't sound right...

Most of vB is built around AJAX -- all the inline posting, editing, modding etc is AJAX -- right? It all works fine in Safari.

But this hack doesn't. And then there is the issue of the huge shout box that expands to about 10 inces...

Isn't there a fix for the slowness and the large box (thought I read about it somewhere).

I really like it but it has to be functional in Safari.
Reply With Quote
  #2037  
Old 07-27-2006, 11:14 PM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smirnoff
hi, just wanna know whats append to my shoutbox

when i try to send some special caracters like " or & or > or < or / \ etc [ french forum] it senf me the ascii caracter
like &quot; &amp; smth like that
anyone can help me?
This seems to get asked every 10 posts. It's not a big deal, but it gets kind of redundant having to post it over and over again. I find that the search thread feature works very nicely.

https://vborg.vbsupport.ru/showpost....postcount=1624
Reply With Quote
  #2038  
Old 07-27-2006, 11:18 PM
smirnoff smirnoff is offline
 
Join Date: Aug 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks but on witch keyword do u search that?

thanks again its work
Reply With Quote
  #2039  
Old 07-28-2006, 12:50 AM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrossBones
That doesn't sound right...

Most of vB is built around AJAX -- all the inline posting, editing, modding etc is AJAX -- right? It all works fine in Safari.

But this hack doesn't. And then there is the issue of the huge shout box that expands to about 10 inces...

Isn't there a fix for the slowness and the large box (thought I read about it somewhere).

I really like it but it has to be functional in Safari.
Safari ABSOLUTELY has problems with AJAX, its a known issue. Try looking at the same page with IE or Firefox, if it looks perfect then it is how Safari is handling the jscript.

The slowness has nothing to do with AJAX and really cannot be fixed, it is a network speed/utilization issue, not an AJAX coding problem.
Reply With Quote
  #2040  
Old 07-28-2006, 12:55 AM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrossBones
Any help on this guys? :cross-eyed:
I don't think you understand how AJAX works (and to be honest, this mod is not a very good choice to demonstrate what AJAX is supposed to be used for).

The shouts only refresh every few seconds because that is the refresh interval defined in the code. If you lessen it you will see the shouts faster but you will dramatically increase load and network utilization. If you are running this on a shared server then your service provider will probably shut you down. If you are on a dedicated server, the ISP may complain to you about the bandwidth utilization or try and charge you for the usage.

Again, this really isn't a very good demonstration of what AJAX is for, it has dynamic content and must be fully refreshed by all browsers every interval, so the fact that the whole page doesn't reload is nice but could be accomplished with iframes or something else.

If you understand RSS, this is the equivalent of turning your RSS reader up to check a news source every 5 seconds. There isn't much you can do to optimize this if 100 people are sitting on your homepage watching the shouts go by.
Reply With Quote
  #2041  
Old 07-28-2006, 01:57 AM
Chicago_VLNU_4s Chicago_VLNU_4s is offline
 
Join Date: Mar 2006
Location: Chicago
Posts: 453
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by da420
This seems to get asked every 10 posts. It's not a big deal, but it gets kind of redundant having to post it over and over again. I find that the search thread feature works very nicely.

https://vborg.vbsupport.ru/showpost....postcount=1624
thank you! i had this problem too!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05638 seconds
  • Memory Usage 2,326KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete