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

Reply
 
Thread Tools
BVShoutbox FULLL Details »»
BVShoutbox FULLL
Version: 1.00, by tpircsvb tpircsvb is offline
Developer Last Online: Sep 2004 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-06-2004 Last Update: Never Installs: 109
 
No support by the author.

Features:
  • Displays vBCodes and other post code allowances.
  • Admins can edit & delete shouts from the Admin CP.
  • Built-in /me code.
  • Archive page and IFrame on forumhome for shouting and reading.
  • Archive page has multiple pages.
  • Stats on archive page.
  • Uses phrases for the Admin CP and shoutbox.
  • Users can edit and delete their own shouts.
  • Usergroup & Administrator permissions.
  • Find shouts by specific users (in the admin cp)
  • Seperate options for vBCodes allowances and what to display

If there's any features anyone wants added, I'll try and add them. I think I added everything people asked for in the previous version, apart from the upgrader, which will be added to the ZIP file when i've setup another test forum and added the previous version to it

There shouldn't be any problems, because I've tested the installer three times.
And I haven't had any problems with the actual shoutbox, or shout manager.

I'll attach some screenshots of all the custom scripts, if anyone asks for screenshots of the add ons for the permissions and stuff ill take them, dunno why anyone would want them tho...

This has only been tested on vB 3.0.0 GOLD

Show Your Support

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

Comments
  #152  
Old 09-12-2004, 05:10 AM
TexasAtvs TexasAtvs is offline
 
Join Date: Dec 2002
Location: the woodlands
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TexasAtvs
How do I disallow guests from posting on the shoutbox.... I would like to make it where only registered members can post or view the shoutbox.

Thanks for your help!!!
It seems that I do not have a admin category with the shout manager and on the left bar in the admin cp. I only have what is listed in the admin options. I can't seem to figure out how to edit the permissions and I do not have the Shoutbox manager listed in my admincp. Can anyone please tell me how I can get this added, or how to manually add code to restrict guests from access to the shoutbox on the forums.

Thanks for everyones help!
Reply With Quote
  #153  
Old 09-12-2004, 09:55 AM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TexasAtvs
How do I disallow guests from posting on the shoutbox.... I would like to make it where only registered members can post or view the shoutbox.

Thanks for your help!!!
Usergroups > Usergroup Manager > Edit Usergroup .. see attached
Reply With Quote
  #154  
Old 09-12-2004, 01:32 PM
TexasAtvs TexasAtvs is offline
 
Join Date: Dec 2002
Location: the woodlands
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont have that listed within any of my usergroups? Im thinking my install went bad? everything else works but I dont have those options available to me. Do you know what I can do to get it there, what templates to edit? or files to add? Thanks!

Smilies aren't working either. When I installed I Just ran the install php file, was I supposed to manually add code to templates or php files? If so,
can someone please list what all needs to be changed or where I can find this.

Thanks,

Brandon
Reply With Quote
  #155  
Old 09-12-2004, 01:37 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just run through the install again and when it gets to the point of the template edits, make sure you have made all the correct changes to the templates.

Which version of VB are you running .. ?

I could PM you a copy of my changed templates but that would prove pointless unless you have all the same hacks that I already have installed :ermm:
Reply With Quote
  #156  
Old 09-12-2004, 01:38 PM
TexasAtvs TexasAtvs is offline
 
Join Date: Dec 2002
Location: the woodlands
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TTG
Just run through the install again and when it gets to the point of the template edits, make sure you have made all the correct changes to the templates.
So I need to manually edit the template files seperate from the install? Not just run the install file?
Reply With Quote
  #157  
Old 09-12-2004, 01:41 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TexasAtvs
So I need to manually edit the template files seperate from the install? Not just run the install file?
Ha .. you were posting as I was editing ..

YES .. you manually have to make the template edits
Reply With Quote
  #158  
Old 09-12-2004, 01:41 PM
TexasAtvs TexasAtvs is offline
 
Join Date: Dec 2002
Location: the woodlands
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay I need to make 5 file edits and 1 template edit, is there a text file I can find these changes, bc the instal wont let me get past the first page. When it gets to the permissions table. It tells me this

Database error in vBulletin 3.0.0:

Invalid SQL: ALTER TABLE usergroup ADD shoutboxpermissions INT UNSIGNED NOT NULL DEFAULT '0' AFTER forumpermissions
mysql error: Duplicate column name 'shoutboxpermissions'

I will paypal someone $5 if they can help me get this fixed...

Thanks!
Reply With Quote
  #159  
Old 09-12-2004, 02:01 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'll need to completely un-install and re-install .. there is a link listed here un-install information.

Good luck .. If you want me to install for you after the un-install .. PM me
Reply With Quote
  #160  
Old 09-12-2004, 02:28 PM
TexasAtvs TexasAtvs is offline
 
Join Date: Dec 2002
Location: the woodlands
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sent you a pm, thanks!
Reply With Quote
  #161  
Old 09-14-2004, 07:22 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've seen so many posts here stating that this shoutbox does not work and one of the main problems is during the install, file edits are not manually completed correctly. I've installed it on 3.0.1 and 3.0.3 with no problems and it works well.

Because the install procedure runs through all the necassary template, phrases and table changes so well automatically .. the only errors are
created by NOT manually changing the necassary phpfile additions.

Files needed to be changed :-
admincp/adminpermissions.php
admincp/index.php
admincp/usergroup.php
includes/functions_online.php
includes/init.php
includes/functions_bbcodeparse.php
includes/adminfunctions_template.php

---------------------------------------------------------------

admincp/adminpermissions.php
Find
Code:
'canadmincron'			=> $vbphrase['can_administer_cron']
Add Below
Code:
'canadminshouts'        => $vbphrase['can_administer_shouts'],
admincp/index.php
Find
Code:
// ***
	if (can_administer('canadminusers'))
	{
		$printhr = true;
		construct_nav_option($vbphrase['subscription_manager'], 'subscriptions.php?do=modify', '|');
		construct_nav_option($vbphrase['add_new_subscription'], 'subscriptions.php?do=add');
		construct_nav_group($vbphrase['subscriptions'], '<hr />');
	}
Add Below
Code:
// ***
	if (can_administer('canadminshouts'))
	{
		$printhr = true;
		construct_nav_option($vbphrase['shout_manager'], 'shout.php?do=modify');
		construct_nav_option($vbpharse['find_shouts'], 'shout.php?do=find');
		construct_nav_group($vbphrase['shoutbox'], '<hr />');
	}
admincp/usergroup.php
Find
Code:
print_table_header($vbphrase['administrator_permissions']);
	print_yes_no_row($vbphrase['is_super_moderator'], 'usergroup[ismoderator]', $ug_bitfield['ismoderator']);
	print_yes_no_row($vbphrase['can_access_control_panel'], 'usergroup[cancontrolpanel]', $ug_bitfield['cancontrolpanel']);
	print_table_break();
Add Below
Code:
print_table_header($vbphrase['shoutbox_permissions']);
	print_yes_no_row($vbphrase['can_shout'], 'usergroup[canaddshout]', $ug_bitfield['canaddshout']);
	print_yes_no_row($vbphrase['can_delete_shouts'], 'usergroup[candropshout]', $ug_bitfield['candropshout']);
	print_yes_no_row($vbphrase['can_delete_others_shouts'], 'usergroup[candropothershout]', $ug_bitfield['candropothershout']);
	print_yes_no_row($vbphrase['can_edit_shouts'], 'usergroup[caneditshout]', $ug_bitfield['caneditshout']);
	print_yes_no_row($vbphrase['can_edit_others_shouts'], 'usergroup[caneditothershout]', $ug_bitfield['caneditothershout']);
	print_yes_no_row($vbphrase['can_read_shouts'], 'usergroup[canreadshouts]', $ug_bitfield['canreadshouts']);
	print_table_break();
includes/functions_online.php
Find
Code:
case 'subscriptions':
			$userinfo['action'] = $vbphrase['viewing_paid_subscriptions'];
			break;
Add Below
Code:
case 'shoutarchive':
			$userinfo['action'] = $vbphrase['viewing_shoutbox'];
			break;
		case 'editshout':
			$userinfo['action'] = $vbphrase['editing_shout'];
			break;
Find
Code:
case 'subscriptions.php':
		$userinfo['activity'] = 'subscriptions';
		break;
Add Below
Code:
case 'shoutbox.php':
		if (empty($values['do']) OR $values['do'] == 'archive')
		{
			$userinfo['activity'] = 'shoutarchive';
		}
		elseif ($values['do'] == 'edit')
		{
			$userinfo['activity'] = 'editshout';
		}
		else
		{
			$userinfo['activity'] = 'index';
		}
		break;
includes/init.php
Find
Code:
'canadminupgrade'       => 32768
Replace with
Code:
 
'canadminupgrade'       => 32768,
'canadminshouts'        => 65536
Find
Code:
// field names for usergroup display options
$_BITFIELD['usergroup']['genericoptions'] = array(
	'showgroup'             => 1,
	'showbirthday'          => 2,
	'showmemberlist'        => 4,
	'showeditedby'          => 8,
	'allowmembergroups'     => 16,
	'isbannedgroup'         => 32
);
Add Below
Code:
// field names for shoutbox permissions
$_BITFIELD['usergroup']['shoutboxpermissions'] = array(
	'canaddshout'           => 1,
	'candropshout'          => 2,
	'candropothershout'     => 4,
	'caneditshout'          => 8,
	'caneditothershout'     => 16,
	'canreadshouts'         => 32
);

includes/functions_bbcodeparse.php
Find
Code:
case 'announcement':
			global $post;
			$dohtml = $post['allowhtml'];
			if ($dohtml)
			{
				$donl2br = 0;
			}
			$dobbcode = $post['allowbbcode'];
			$dobbimagecode = $post['allowbbcode'];
			$dosmilies = $allowsmilie;
			break;
Add Below
Code:
case 'shoutbox':
			$dohtml = $vboptions['allowshouthtml'];
			$dobbcode = $vboptions['allowshoutbbcode'];
			$dobbimagecode = $vboptions['allowshoutimgcode'];
			$dosmilies = $vboptions['allowshoutsmilies'];			
			break;
includes/adminfunctions_template.php
Find
Code:
'subscription' => $vbphrase['group_paid_subscriptions'],
Add Below
Code:
'shoutbox' => $vbphrase['shoutbox'],
-----------------------------------------------------------------------

Template Edits

FORUMHOME
Find
Code:
$navbar
Add Below
Code:
<if condition="($permissions['shoutboxpermissions'] & CANREADSHOUTS)"><!-- shoutbox -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[tablewidth]" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_shoutbox')"><img id="collapseimg_forumhome_shoutbox" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_shoutbox].gif" alt="" border="0" /></a>
			<a href="shoutbox.php?$session[sessionurl]">Shoutbox</a>
		</td>
	</tr>
</thead>
<tbody id="collapseobj_forumhome_shoutbox" style="$vbcollapse[collapseobj_forumhome_shoutbox]">
	<tr>
		<td class="alt1" width="100%">
			<iframe src="shoutbox.php?$session[sessionurl]do=iframe" width="100%" height="120" scrolling="yes" frameborder="0" name="shoutbox" id="shoutbox"></iframe>
		</td>
	</tr>
</tbody>
</table>
<!-- end shoutbox -->

<br /></if>
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 10:32 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.08038 seconds
  • Memory Usage 2,343KB
  • Queries Executed 27 (?)
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
  • (20)bbcode_code
  • (4)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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