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)
-   -   [HTL] & [Normal] Shoutbox Hack - 1.03d (https://vborg.vbsupport.ru/showthread.php?t=59985)

*arie 01-15-2004 03:54 AM

Quote:

Originally Posted by Link14716
And here are the new 1.0 Final Screenshots:

i am so confused. I'm trying to upgrade from RC1 to this final. There are so many files in there. Can you point me to the right file that tells me how to upgrade?

geezzaa 01-15-2004 07:23 AM

Hi mate. Here ya go

// ### 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

sabret00the 01-15-2004 07:32 AM

Well done on brining this to final

Martin CX 01-15-2004 09:56 AM

It looks very nice, and it works beautifully in the iframe on forumhome. However, when I go to the shoutbox.php-page with a usergroup that's allowed to shout it shows up completely blank. (If I try to access the shoutbox-page with a usergroup that isn't allowed it shows a rejection message).

Any ideas where the problem might be?

Link14716 01-15-2004 10:09 AM

Quote:

Originally Posted by *arie
i am so confused. I'm trying to upgrade from RC1 to this final. There are so many files in there. Can you point me to the right file that tells me how to upgrade?

Upload all files in the upload folder of the zip to your forums directory and run http://www.yoursite.com/forums/admin...l_shoutbox.php.

Link14716 01-15-2004 10:10 AM

geezzaa: I don't see any error in that code. Has another hack that you installed edit init.php?

Link14716 01-15-2004 10:11 AM

Quote:

Originally Posted by Martin CX
It looks very nice, and it works beautifully in the iframe on forumhome. However, when I go to the shoutbox.php-page with a usergroup that's allowed to shout it shows up completely blank. (If I try to access the shoutbox-page with a usergroup that isn't allowed it shows a rejection message).

Any ideas where the problem might be?

The only thing that I could think of would be a missing SHOUTBOX template.

Martin CX 01-15-2004 10:26 AM

Quote:

Originally Posted by Link14716
The only thing that I could think of would be a missing SHOUTBOX template.

Doh! It was in lowercase ("shoutbox") instead of upper case. :tired:

Thanks for the help! :)

Link14716 01-15-2004 10:28 AM

Quote:

Originally Posted by Martin CX
Doh! It was in lowercase ("shoutbox") instead of upper case. :tired:

Thanks for the help! :)

Glad you got it working. :)

*arie 01-15-2004 12:35 PM

Quote:

Originally Posted by Link14716
Upload all files in the upload folder of the zip to your forums directory and run http://www.yoursite.com/forums/admin..._shoutbox.php.

okay thanks.


All times are GMT. The time now is 09:49 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.01429 seconds
  • Memory Usage 1,744KB
  • 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
  • (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