The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#152
|
|||
|
|||
Quote:
Thanks for everyones help! |
#153
|
||||
|
||||
Quote:
|
#154
|
|||
|
|||
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 |
#155
|
||||
|
||||
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: |
#156
|
|||
|
|||
Quote:
|
#157
|
||||
|
||||
Quote:
YES .. you manually have to make the template edits |
#158
|
|||
|
|||
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! |
#159
|
||||
|
||||
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 |
#160
|
|||
|
|||
sent you a pm, thanks!
|
#161
|
||||
|
||||
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'] Code:
'canadminshouts' => $vbphrase['can_administer_shouts'], 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 />'); } 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 />'); } 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(); 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(); Find Code:
case 'subscriptions': $userinfo['action'] = $vbphrase['viewing_paid_subscriptions']; break; Code:
case 'shoutarchive': $userinfo['action'] = $vbphrase['viewing_shoutbox']; break; case 'editshout': $userinfo['action'] = $vbphrase['editing_shout']; break; Code:
case 'subscriptions.php': $userinfo['activity'] = 'subscriptions'; break; 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; Find Code:
'canadminupgrade' => 32768 Code:
'canadminupgrade' => 32768, 'canadminshouts' => 65536 Code:
// field names for usergroup display options $_BITFIELD['usergroup']['genericoptions'] = array( 'showgroup' => 1, 'showbirthday' => 2, 'showmemberlist' => 4, 'showeditedby' => 8, 'allowmembergroups' => 16, 'isbannedgroup' => 32 ); 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; Code:
case 'shoutbox': $dohtml = $vboptions['allowshouthtml']; $dobbcode = $vboptions['allowshoutbbcode']; $dobbimagecode = $vboptions['allowshoutimgcode']; $dosmilies = $vboptions['allowshoutsmilies']; break; Find Code:
'subscription' => $vbphrase['group_paid_subscriptions'], Code:
'shoutbox' => $vbphrase['shoutbox'], Template Edits FORUMHOME Find Code:
$navbar 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> |
#162
|
|||
|
|||
anybody tried this on 3.0.3?
|
#163
|
||||
|
||||
Quote:
|
#164
|
|||
|
|||
Is there a fix for the background problem or a way to change the colour of the text?
|
#165
|
||||
|
||||
Quote:
So If someone that is MYSQL talented could help us add these frases manually in th ADMINCP by properly wording and formatting the SQL table additions, this would be all that is left to get my clients Shout Box working. Evething is showing on the page, but the Shot Box iss empty, I believe its due to PERMISSIONS, I cannot edit them in the ADMINPC because there is nothing under USERGROUPS, and it just happens that this is where the install script errored. I removed 2 table edits from the install script to get it to complete the install as instructed above. Here is the installs table edits that I had to remove in order for the install script to complete. ALTER TABLE . TABLE_PREFIX . usergroup ADD shoutboxpermissions INT UNSIGNED NOT NULL DEFAULT '0' AFTER forumpermissions and "ALTER TABLE " . TABLE_PREFIX . "language ADD phrasegroup_shoutbox MEDIUMTEXT NOT NULL, ADD phrasegroup_shoutmanager MEDIUMTEXT NOT NULL", I need these typed so I can cut and paste it into the ADMINCP's Execute SQL Query box. This should add the Shout Box in my user groups, so I may change the permissions, so It can be viewed. Am I making sense?? LOL |
#166
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|