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)

eXtremeTim 01-14-2004 09:29 PM

I modified the templates some as you can see here on http://www.extremechatforums.com/forum/shoutbox.php If you guys are interested in these changes please let me know and i will post the modified templates. If thats okay with link.

Link14716 01-14-2004 09:52 PM

Quote:

Originally Posted by deemon
well.. maybe not.. but i mos deffenetly will try to uninstall it ..
i let you know if anything gets any better after uninstall

kthnxoh yea.. one thing more.. i got this error on mail if i posted somehing to shoutbox..

Invalid SQL: INSERT INTO phrase (phraseid, languageid, varname, text, phrasetypeid) VALUES (NULL, '0', 'shoutbox_shoutbit_at', 'at', '716')
mysql error: Duplicate entry 'shoutbox_shoutbit_at-0-716' for key 2

mysql error number: 1062

.. i'm finished with uninstall.. and some minor things got better.. but yea.. sorry i quess it wasnt your hack that screwd up my admincp new user registrations.. sorry about that one ;)

That seems like you had an error when you installed it, it was trying to add a phrase that already existed. (Upgrading to RC2 error.). It wouldn't occur when people shout.

Link14716 01-14-2004 09:54 PM

Quote:

Originally Posted by techno
No, it doesn't for me...or any of my users.

Any ideas as to why, or how I could force it to redirect to the proper page?

There are 2 lines of code to pay attention to in shoutbox.php:
PHP Code:

        header("Location: $_SERVER[HTTP_REFERER]");
        exit; 

Now, you can change $_SERVER[HTTP_REFERER] to a relative URL to redirect them to a certain page, or change both lines to this to redirect to the shoutbox:
PHP Code:

        $do "main"


Link14716 01-14-2004 09:59 PM

Quote:

Originally Posted by geezzaa
I jave uploaded it to a totally fresh vb3 test board.
I keep getting the error Parse error: parse error in /home/geezzaa/public_html/ukctest/includes/init.php on line 821

Possibly something simple, i dont know much about board hacking so please go easy on the answer.
Thanks

Post from lines 816-826 of init.php here so I can see what is wrong.

Link14716 01-14-2004 10:01 PM

Quote:

Originally Posted by eXtremeTim
I modified the templates some as you can see here on http://www.extremechatforums.com/forum/shoutbox.php If you guys are interested in these changes please let me know and i will post the modified templates. If thats okay with link.

Go ahead and post them :)

techno 01-14-2004 10:30 PM

Quote:

Originally Posted by Link14716
There are 2 lines of code to pay attention to in shoutbox.php:
PHP Code:

        header("Location: $_SERVER[HTTP_REFERER]");
        exit; 

Now, you can change $_SERVER[HTTP_REFERER] to a relative URL to redirect them to a certain page, or change both lines to this to redirect to the shoutbox:
PHP Code:

        $do "main"


That fixed it!!!!!!! Thanks!!!

geezzaa 01-14-2004 10:44 PM

Quote:

Originally Posted by Link14716
Post from lines 816-826 of init.php here so I can see what is wrong.

'indexposts' => 16384,
'styleoverride' => 32768,
'showonforumjump' => 65536,
'warnall' => 131072
);
}
/*================================================= =====================*\
|| ################################################## ##################
|| # Downloaded: 05:58, Fri Jan 9th 2004
|| # CVS: $RCSfile: init.php,v $ - $Revision: 1.216 $
|| ################################################## ##################
\*================================================ ======================*/
?>

Link14716 01-14-2004 10:53 PM

Post about 20 lines down from here then:
PHP Code:

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


Link14716 01-15-2004 02:31 AM

Look at what it says on my localhost now!!!
Quote:

Shoutbox 1.0 Final by squall14716 for VGGM.
Templates (mostly) by TWTCommish for the vB2 Shoutbox 1.0.
Ok, so the final is going out tonight. All I need to do is the .txt files for file edits and templates and re-test the install.

Link14716 01-15-2004 03:23 AM

And here are the new 1.0 Final Screenshots:


All times are GMT. The time now is 09:16 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.01706 seconds
  • Memory Usage 1,754KB
  • 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
  • (5)bbcode_php_printable
  • (7)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