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
  #112  
Old 01-15-2004, 10:06 PM
Martin CX Martin CX is offline
 
Join Date: Nov 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Pruning will come later, I started on an admin script with pruning a while back but got frustrated with it, I'll try again later. I'll keep your suggestion in mind and make a cron-compatible script to prune shouts as well.
Thanks.
  #113  
Old 01-16-2004, 12:27 AM
PennylessZ28 PennylessZ28 is offline
 
Join Date: Mar 2002
Location: North America
Posts: 737
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
As long as you have edited index.php, created the 'forumhome_shoutbit' template, edited the 'FORUMHOME' template correctly, and switched the iframe off in the 'Shoutbox Settings' part of 'vBulletin Options', it should work.
Sure enough, index.php, my copy and paste job from the install was off, all I pasted in was

"// Shoutbox Latest Shouts
// Shoutbox hack by squall14716

Left out the rest, haha. Thanks for the advice though.
  #114  
Old 01-16-2004, 03:13 AM
RN BB guy RN BB guy is offline
 
Join Date: Jan 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cant run the installer

iNSTALL INSTRUCTIONS

1. Upload the contents of the 'upload' folder to your forums directory.
2. Run http://www.yoursite.com/forums/admin...l_shoutbox.php and follow the directions.


when I do that i get this:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23


any suggestions?
  #115  
Old 01-16-2004, 07:47 AM
geezzaa geezzaa is offline
 
Join Date: Dec 2002
Location: uk
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Post about 20 lines down from here then:
PHP Code:
// ### INSERT PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// ---------------------------------------------------------- 
Here ya go.
Congrats on the final .

PHP Code:
// ### INSERT PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// ----------------------------------------------------------
$_BITFIELD['usergroup']['shoutboxpermissions'] = array(
    
'shoutview'             => 1,
    
'shoutpost'             => 2,
    
'shoutedit'             => 4,
    
'shoutdelete'           => 8,
    
'shouthdelete'          => 16,
    
'shouteditothers'       => 32,
    
'shoutdeleteothers'     => 64,
    
'shouthdeleteothers'    => 128,
    
'shoutip'               => 256,
    
'shoutcoventry'         => 512
);

// ----------------------------------------------------------
// ###  END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE   ###

// now take all the usergroup bitfields and define constants for spot permission checks
foreach($_BITFIELD['usergroup'] AS $_permgroup)
{
    foreach(
$_permgroup AS $_constname => $_constval)
    {
        
define(strtoupper($_constname), $_constval);
    }
}
unset(
$_constname$_constval$_permgroup);

// Calendar Moderator permissions
$_BITFIELD['calmoderatorpermissions'] = array(
    
'caneditevents'         => 1,
    
'candeleteevents'       => 2,
    
'canmoderateevents'     => 4,
    
'canviewips'            => 8,
    
'canmoveevents'         => 16
);

// Forum Moderator permissions
$_BITFIELD['moderatorpermissions'] = array(
    
'caneditposts'           => 1
  #116  
Old 01-16-2004, 09:03 AM
AshAbed AshAbed is offline
 
Join Date: Nov 2003
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i attached a picture of what the shoutbox looks like on my page... would you happen to know what went wrong?
it works when i turn i-frame off though... if its alot of work ill just leave iframe off but i would prefer to turn it on so if its not hard to fix then please tell me how
Thanks alot!
  #117  
Old 01-16-2004, 10:25 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 RN BB guy
I cant run the installer

iNSTALL INSTRUCTIONS

1. Upload the contents of the 'upload' folder to your forums directory.
2. Run http://www.yoursite.com/forums/admin...l_shoutbox.php and follow the directions.


when I do that i get this:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nurses/public_html/forum/admincp/install_shoutbox.php on line 23


any suggestions?
That error indicates that global.php in the admincp directory doesn't exist!?! Did you happen to rename your admin folder?
  #118  
Old 01-16-2004, 10:28 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 geezzaa
Here ya go.
Congrats on the final .

PHP Code:
// ### INSERT PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE ###
// ----------------------------------------------------------
$_BITFIELD['usergroup']['shoutboxpermissions'] = array(
    
'shoutview'             => 1,
    
'shoutpost'             => 2,
    
'shoutedit'             => 4,
    
'shoutdelete'           => 8,
    
'shouthdelete'          => 16,
    
'shouteditothers'       => 32,
    
'shoutdeleteothers'     => 64,
    
'shouthdeleteothers'    => 128,
    
'shoutip'               => 256,
    
'shoutcoventry'         => 512
);

// ----------------------------------------------------------
// ###  END PLUGIN USERGROUP PERMISSIONS BITFIELDS HERE   ###

// now take all the usergroup bitfields and define constants for spot permission checks
foreach($_BITFIELD['usergroup'] AS $_permgroup)
{
    foreach(
$_permgroup AS $_constname => $_constval)
    {
        
define(strtoupper($_constname), $_constval);
    }
}
unset(
$_constname$_constval$_permgroup);

// Calendar Moderator permissions
$_BITFIELD['calmoderatorpermissions'] = array(
    
'caneditevents'         => 1,
    
'candeleteevents'       => 2,
    
'canmoderateevents'     => 4,
    
'canviewips'            => 8,
    
'canmoveevents'         => 16
);

// Forum Moderator permissions
$_BITFIELD['moderatorpermissions'] = array(
    
'caneditposts'           => 1
As I said before, I see nothing wrong with that code. Does a fresh init.php solve the error? Have you tried to re-hack a fresh init.php?
  #119  
Old 01-16-2004, 10:31 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 AshAbed
i attached a picture of what the shoutbox looks like on my page... would you happen to know what went wrong?
it works when i turn i-frame off though... if its alot of work ill just leave iframe off but i would prefer to turn it on so if its not hard to fix then please tell me how
Thanks alot!
Make sure your shoutbox_iframe_shoutbit template exists
  #120  
Old 01-16-2004, 11:41 AM
geezzaa geezzaa is offline
 
Join Date: Dec 2002
Location: uk
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes mate. its a totally new board, no other hacks installed and no changes made to directories
  #121  
Old 01-16-2004, 06:30 PM
magazineforall's Avatar
magazineforall magazineforall is offline
 
Join Date: Jan 2004
Location: England, UK
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will be installing this I just wondered how I uninstall this if I need to I'd really appreciate it if someone could give me some instructions before I do install thanks
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 06:46 AM.


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.05250 seconds
  • Memory Usage 2,337KB
  • 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
  • (3)bbcode_php
  • (6)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_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