Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
[HTL] & [Normal] Shoutbox Hack - 1.03d Details »»
[HTL] & [Normal] Shoutbox Hack - 1.03d
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 01-09-2004 Last Update: Never Installs: 83
Supported
 

Re-released at https://vborg.vbsupport.ru/showthrea...790#post547790

Show Your Support

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

Comments
  #152  
Old 01-19-2004, 07:45 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brahm
OKay,
I think I am going mad.. heh -- I can not find where to allow/disallow certain usergroups to have permission to view the shoutbox. I have it installed, but no one can access it but admins and mods and registered users. None of my other usergroups can access it.

Am I missing something? Yes my shoutbox is "active"
Usergroup permissions for the shoutbox are with every other usergroup permission - they are on the Edit Usergroup page for every usergroup.
  #153  
Old 01-20-2004, 01:55 AM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not mine...
  #154  
Old 01-20-2004, 01:59 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you edit admincp/usergroup.php?
  #155  
Old 01-21-2004, 09:35 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It won't let me install on vb3 rc3. I've uninstalled the tables and the installfile won't start. "We have automatically detected your current shoutbox version, and it appears to be up-to-date."
  #156  
Old 01-21-2004, 10:12 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NuclioN
It won't let me install on vb3 rc3. I've uninstalled the tables and the installfile won't start. "We have automatically detected your current shoutbox version, and it appears to be up-to-date."
That's because you didn't uninstall it all the way. You must get rid of all the settings, phrases, and added columns to the user and usergroup tables as well.
  #157  
Old 01-21-2004, 01:25 PM
VampireMan VampireMan is offline
 
Join Date: Jan 2003
Location: Leicestershire uk
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded to vb RC3, shoutbox still works 100% , thanks
  #158  
Old 01-21-2004, 07:40 PM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Did you edit admincp/usergroup.php?
Could you post that edit please so I can be sure?
  #159  
Old 01-22-2004, 12:52 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brahm
Could you post that edit please so I can be sure?
Suuuure can.
Code:
// admincp/usergroup.php -+-+-+-+-+-+-+-+-+-+-+-+-+-+

// find -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

			// set default yes permissions (bitfields)
			$ug_bitfield = array(
				'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
				'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
				'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
				'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
				'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
				'canusesignature' => 1
			);
			// set default numeric permissions
			$usergroup = array(
				'pmquota' => 0, 'pmsendmax' => 5, 'attachlimit' => 1000000,
				'avatarmaxwidth' => 50, 'avatarmaxheight' => 50, 'avatarmaxsize' => 20000,
				'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000
			);

// replace with -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

			// set default yes permissions (bitfields)
			$ug_bitfield = array(
				'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
				'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
				'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
				'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
				'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
				'canusesignature' => 1, 'shoutview' => 1, 'shoutpost' => 1, 'shoutedit' => 1,
				'shoutdelete' => 1, 'shouthdelete' => 0, 'shouteditothers' => 0,
				'shoutdeleteothers' => 0, 'shouthdeleteothers' => 0, 'shoutip' => 0,
				'shoutcoventry' => 0
			);
			// set default numeric permissions
			$usergroup = array(
				'pmquota' => 0, 'pmsendmax' => 5, 'attachlimit' => 1000000,
				'avatarmaxwidth' => 50, 'avatarmaxheight' => 50, 'avatarmaxsize' => 20000,
				'profilepicmaxwidth' => 100, 'profilepicmaxheight' => 100, 'profilepicmaxsize' => 25000,
				'shouthierarchy' => 5, 'shoutmaxdaily' =>0
			);

// find -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

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

// add above -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

	print_table_header($vbphrase['shoutbox_admin_permissions_title']);
	print_yes_no_row($vbphrase['shoutbox_admin_permissions_canview'], 'usergroup[shoutview]', $ug_bitfield['shoutview']);
	print_yes_no_row($vbphrase['shoutbox_admin_permissions_canshout'], 'usergroup[shoutpost]', $ug_bitfield['shoutpost']);
	print_input_row($vbphrase['shoutbox_admin_permissions_maxdaily'], 'usergroup[shoutmaxdaily]', $usergroup[shoutmaxdaily]);
	if ($usergroupid != 1) { // Allow guests to shout but do nothing else...
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_canedit'], 'usergroup[shoutedit]', $ug_bitfield['shoutedit']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_candelete'], 'usergroup[shoutdelete]', $ug_bitfield['shoutdelete']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_canhdelete'], 'usergroup[shouthdelete]', $ug_bitfield['shouthdelete']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_caneditothers'], 'usergroup[shouteditothers]', $ug_bitfield['shouteditothers']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_candeleteothers'], 'usergroup[shoutdeleteothers]', $ug_bitfield['shoutdeleteothers']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_canhdeleteothers'], 'usergroup[shouthdeleteothers]', $ug_bitfield['shouthdeleteothers']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_canip'], 'usergroup[shoutip]', $ug_bitfield['shoutip']);
		print_yes_no_row($vbphrase['shoutbox_admin_permissions_coventry'], 'usergroup[shoutcoventry]', $ug_bitfield['shoutcoventry']);
		if ($vboptions['shoutbox_enablehierarchy'] == 1) {
			print_input_row($vbphrase['shoutbox_admin_permissions_hierarchy'], 'usergroup[shouthierarchy]', $usergroup['shouthierarchy']);
		}
	}
	print_table_break();
  #160  
Old 01-22-2004, 03:39 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice job with this, thanks a bunch.
  #161  
Old 01-22-2004, 08:39 AM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two things:

First of all, some of my users are complaining that they are getting errors both when they try to read the iframe and the full-screen version. They are told, their usergroup isn't allowed to read the blablabla... but they are members of the ordinary registered usergroup and they should be allowed

Second: When upgrading to RC3 which steps do I have to repeat in the installation?
  #162  
Old 01-22-2004, 01:25 PM
Brahm Brahm is offline
 
Join Date: Jan 2002
Location: Texas, USA
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That did it man! Thanks alot for the info -- this hack is the best shoutbox I have used to date and I have been Vbulletining for about 2 years now.
  #163  
Old 01-22-2004, 10:31 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martin CX
Two things:

First of all, some of my users are complaining that they are getting errors both when they try to read the iframe and the full-screen version. They are told, their usergroup isn't allowed to read the blablabla... but they are members of the ordinary registered usergroup and they should be allowed

Second: When upgrading to RC3 which steps do I have to repeat in the installation?
What kind of errors?

And all you have to do is redo to file edits when you upgrade vB, as in any hack.
  #164  
Old 01-23-2004, 04:29 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i went to uninstall it off of localhost and try it again
so i ran the the lines of code to uninstall in on of these post
and try to re-install it gives me this

FIXED
i had to run this to finish un-installing it

ALTER TABLE usergroup DROP `shoutmaxdaily`

now i am going to re-test it
  #165  
Old 01-23-2004, 05:11 AM
jaliam jaliam is offline
 
Join Date: Jan 2003
Location: California
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I fix the following display error? Please help. Thanks!

URL: http://www.bibletruths.us/forums/shoutbox.php?
  #166  
Old 01-23-2004, 05:25 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i re-installed it and ran every thing from the SQL files and edited every PHP file and added every TEMPLATE
also converted all black vivi shoutbox post

still have problems with the iFrame, i have to turn it OFF
with it OFF i can post in the shout box but it takes me to the top on every shout
also when i try to view the shoutbox.php it is blank
Closed Thread


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 08:59 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
  • Page Generation 0.04967 seconds
  • Memory Usage 2,353KB
  • Queries Executed 30 (?)
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
  • (1)bbcode_code
  • (5)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
  • (1)pagenav_pagelinkrel
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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