vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Shoutbox Hack 1.04b (https://vborg.vbsupport.ru/showthread.php?t=68861)

noppid 01-09-2005 08:34 PM

I don't know about the uninstall, but as far as not safe, a quick look at the handling of text input by users appears like link has handled it safely. Do you know of a specific issue with this hack?

HERO|Highlander 01-09-2005 09:05 PM

Just run the installer again and choose uninstall when prompted.

Quote:

Originally Posted by wolfgang2
i would like to deinstall the shoutbox hack after upgrading to vB 3.0.5
Also it seems like a safety hazard.

Templates etc. i can delete, as well as shoutbox.php, but in the databsae it is not so easy.
Any hints what i have to delete out of the mysql database?
shoutboxposts is clear...but the rest?

Did the install via NON HTL Install.
Thank You for any help


HERO|Highlander 01-09-2005 09:08 PM

Well I've been running this particular shout hack for a while now and I used to run the original ShoutBox hack by TWCommish back in the day and I've never come across any security issues with it.

Quote:

Originally Posted by noppid
I don't know about the uninstall, but as far as not safe, a quick look at the handling of text input by users appears like link has handled it safely. Do you know of a specific issue with this hack?


HERO|Highlander 01-09-2005 09:11 PM

Well, what I would do is to uninstall the hack using the installer script and then reinstall it... much easier to do IMHO.

Quote:

Originally Posted by Megareus Rex
Ummm...I updated my vB to 3.0.5, and now I need to re-hack all the various php files neccessary to make it function properly.

Are the php changes specified anywhere?


HERO|Highlander 01-09-2005 09:15 PM

Not to sure what the error message is trying to tell yah but if the problem is you can't edit the usergroup permissions inorder to see the shoutbox it's because there were a few php file edits not showing up in the new installer. Go here https://vborg.vbsupport.ru/showpost....&postcount=373 and get the edit text and apply the edits to the proper php files and that should solve your problem I believe.

Quote:

Originally Posted by drl2005
Hello Guy's

I have a problem when I edit the usergroup.php
When I put this code to my usergroup.php, I can not manage the usergroups permissions.

It's this code :

Find :
PHP Code:

    if ($usergroupid != 1// Guests can not post attachments
    
{
        
print_table_header($vbphrase['attachment_permissions']); 

Add Above :
PHP Code:

    print_table_header($vbphrase['shoutbox_cpusergroup_title']);
    
print_yes_no_row($vbphrase['shoutbox_cpusergroup_canview'], 'usergroup[shoutview]'$ug_bitfield['shoutview']);
    
print_yes_no_row($vbphrase['shoutbox_cpusergroup_canshout'], 'usergroup[shoutpost]'$ug_bitfield['shoutpost']);
    
print_input_row($vbphrase['shoutbox_cpusergroup_maxdaily'], 'usergroup[shoutmaxdaily]'$usergroup[shoutmaxdaily]);
    if (
$usergroupid != 1) { // Allow guests to shout but do nothing else...
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_canedit'], 'usergroup[shoutedit]'$ug_bitfield['shoutedit']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_candelete'], 'usergroup[shoutdelete]'$ug_bitfield['shoutdelete']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_canhdelete'], 'usergroup[shouthdelete]'$ug_bitfield['shouthdelete']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_caneditothers'], 'usergroup[shouteditothers]'$ug_bitfield['shouteditothers']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_candeleteothers'], 'usergroup[shoutdeleteothers]'$ug_bitfield['shoutdeleteothers']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_canhdeleteothers'], 'usergroup[shouthdeleteothers]'$ug_bitfield['shouthdeleteothers']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_canip'], 'usergroup[shoutip]'$ug_bitfield['shoutip']);
        
print_yes_no_row($vbphrase['shoutbox_cpusergroup_coventry'], 'usergroup[shoutcoventry]'$ug_bitfield['shoutcoventry']);
        if (
$vboptions['shoutbox_enablehierarchy'] == 1) {
            
print_input_row($vbphrase['shoutbox_cpusergroup_hierarchy'], 'usergroup[shouthierarchy]'$usergroup['shouthierarchy']);
        }
    }
    
print_table_break();
    
print_column_style_code(array('width: 70%''width: 30%')); 

This is my error, it's happend on all groups:
HTML Code:

Usergroup Manager

Database error in vBulletin 3.0.5:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
        title = 'Administrators',
        description = 'Beheerder van de Dutch Racing League',
        usertitle = 'Administrator',
        opentag = '',
        closetag = '',
        passwordexpires = '90',
        passwordhistory = '0',
        shoutview = '0',
        shoutpost = '0',
        shoutmaxdaily = '0',
        shoutedit = '0',
        shoutdelete = '0',
        shouthdelete = '0',
        shouteditothers = '0',
        shoutdeleteothers = '0',
        shouthdeleteothers = '0',
        shoutip = '0',
        shoutcoventry = '0',
        shouthierarchy = '1',
        attachlimit = '0',
        avatarmaxwidth = '120',
        avatarmaxheight = '120',
        avatarmaxsize = '25000',
        profilepicmaxwidth = '60',
        profilepicmaxheight = '60',
        profilepicmaxsize = '12500',
        pmquota = '25',
        pmsendmax = '10',
        forumpermissions = '393215',
        pmpermissions = '3',
        calendarpermissions = '31',
        wolpermissions = '31',
        adminpermissions = '3',
        genericpermissions = '4194239',
        genericoptions = '31'
WHERE usergroupid=6
mysql error: Unknown column 'shoutview' in 'field list'

mysql error number: 1054



HERO|Highlander 01-09-2005 09:20 PM

Did you edit the correct forum template? It should be the FORUMHOME template and did you make sure you copied "all" the code from the installer to the FORUMHOME template correctly? Check these things again. :)

Quote:

Originally Posted by dan_bevington
Hey Folks.
I've had a quick look round in this thread, but can't really find an answer to my problem.
I'm having trouble displaying my shoutbox on the forum index page.
I have copied the code exactly as it is in the installed and have tried reinstalling the shoutbox too.
It is set to enabled in the shoutbox settings, I have even tried reverting my forumhome template to the original, but still no luck.
Can anyone shed any light on the problem?
Cheers,
Dan.


MooMan65 01-10-2005 03:43 AM

Great hack! Since upgrading to v3.0.5 I've changed from using BVShoutbox to this one, except I'm wondering has anyone figured out a reason/fix for the refresh bug? I'm getting the same issue where it refreshes the whole page when you submit a shout, but the auto-refresh works fine. I have members using Firefox and IE, and on different Windows versions all having the same problem, so it might be a coding issue. Anyone?

Rhoads 01-10-2005 07:30 AM

Quote:

Originally Posted by HERO|Highlander
Not to sure what the error message is trying to tell yah but if the problem is you can't edit the usergroup permissions inorder to see the shoutbox it's because there were a few php file edits not showing up in the new installer. Go here https://vborg.vbsupport.ru/showpost....&postcount=373 and get the edit text and apply the edits to the proper php files and that should solve your problem I believe.

Thnx Highlander, I have edit all php files, but I forget de init.php off vb3.0.5
Now I can set de permissions ;)

freakz 01-10-2005 10:34 AM

after upgrading to 3.05 and reinstalling the hack I recieved a problem with the init.php code we have to add. If I add the code the package tells us to, I get a error on line 920 with a already writing header to cookie. But when I reload the original init.php file the shoutbox works but all users can see ip address and ect...

anyone have that problem, and have any idea how to fix...

The Realist 01-10-2005 08:03 PM

Can anyone tell me how I can drop what ever is causing this Mysql error:

Duplicate entry 'shoutbox_archive--1' for key 2


All times are GMT. The time now is 10:06 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
  • Page Generation 0.02394 seconds
  • Memory Usage 1,774KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete