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)
-   -   Shoutbox Hack 1.04b (https://vborg.vbsupport.ru/showthread.php?t=68861)

duncan99 04-12-2005 06:56 PM

Quote:

Originally Posted by Gary King
How do I enable the ability to link usernames in the iframe mode? As you can see here: https://vborg.vbsupport.ru/attachmen...chmentid=15866 the usernames are not linked, but I want them to be.

Thanks! :)

In shoutbox.php :

Find :
Code:

while ($shoutbox_post=$DB_site->fetch_array($shoutbox_posts)) {
                        if ($tachyuser != in_coventry($shoutbox_post['userid'])) {
                                if (($permissions['shoutboxpermissions'] & SHOUTCOVENTRY)) {
                                        $shout_tachygoestocoventry = 1;
                                } elseif (!($permissions['shoutboxpermissions'] & SHOUTCOVENTRY)) {
                                        $screwyoucoventryshout = 1;
                                }
                        }
                        $shoutbox_post_date = vbdate($vboptions['dateformat'], $shoutbox_post['time'], 1);
                        $shoutbox_post_time = vbdate($vboptions['timeformat'], $shoutbox_post['time']);
                        $shoutbox_post_text = $shoutbox_post['text'];
                        // In case you have the /me code hack...
                        $post['username'] = $shoutbox_post['username'];

Add below :
Code:

$shoutbox_post['username'] = "<a href='member.php?u=$shoutbox_post[userid]' target=\"_blank\">".$shoutbox_post['username']."</a>";
That will do the trick. :)

The Realist 04-12-2005 09:30 PM

Thanks but now have this error:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/techtro/public_html/forums/includes/db_mysql.php on line 405

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/techtro/public_html/forums/includes/db_mysql.php on line 405

Database error in vBulletin 3.0.7:

Invalid SQL: ALTER TABLE language ADD `phrasegroup_shoutbox` MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_shoutbox'

mysql error number: 1060

Date: Tuesday 12th of April 2005 06:29:13 PM
Script: http://www.xxxxxxxxx.xxx/forums/inst...=Shoutbox_Hack
Referer:
Username: xxxxxxxx
IP Address: xx.xx.xx.xx


Quote:

Originally Posted by MarcoH64
In your install/hacks/Shoutbox_Hack/14/queries.php file:

Find:
PHP Code:

                 `shoutidBIGINT (255UNSIGNED DEFAULT \'0\' AUTO_INCREMENT, 

And replace by:
PHP Code:

                 `shoutidBIGINT (255UNSIGNED AUTO_INCREMENT



xtreme-mobile 04-12-2005 09:42 PM

is there any way of changing where it says

"shoutbox- last 10 shouts" could i change it to Spam box-last 10 shouts?

xtreme-mobile 04-13-2005 07:07 AM

any one?

Marco van Herwaarden 04-13-2005 09:44 AM

Try editing the 'shoutbox_forumhome_x_y_z' phrase.

The Realist 04-13-2005 02:52 PM

I removed them from the DB and it installed ok, but the problem I have is the install readme does not load?

The page is blank so I dont know the edits it says "No readme files found"?

Laters

The Realist 04-13-2005 03:52 PM

Found the install text file here: https://vborg.vbsupport.ru/showpost....&postcount=373

Laters

Dark Aura 04-13-2005 05:14 PM

Quote:

Originally Posted by Dark Aura
okay i did it and I got this error, how do I fix it please explain it to me in simple terms still learning with the whole hack thing.

Database error in vBulletin 3.0.3:

Invalid SQL: ALTER TABLE vb3_language ADD `phrasegroup_shoutbox` MEDIUMTEXT NOT NULL
mysql error: Duplicate column name 'phrasegroup_shoutbox'

Anyone?

Zachery 04-13-2005 06:13 PM

Quote:

Originally Posted by Dark Aura
Anyone?

Uninstall your old shoutbox hack first, and UPGRADE before you get hacked into. (vB that is)

Kyderoy 04-13-2005 11:39 PM

I uploaded the files and when I try to browse to hack_install.php I get the following error.

Warning: chdir(): No such file or directory (errno 2) in d:\Inetpub\Chocolate\install\his_fi les\hack_install_b3.php on line 30

Warning: main(./global.php): failed to open stream: No such file or directory in d:\Inetpub\Chocolate\install\his_fi les\hack_install_b3.php on line 31

Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\php4\pear') in d:\Inetpub\Chocolate\install\his_fi les\hack_install_b3.php on line 31

Any idea why this is happening?


All times are GMT. The time now is 06:21 PM.

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.01940 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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