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?

Marco van Herwaarden 04-14-2005 03:27 AM

You seem to have a space in the directoryname 'his_files'

The Realist 04-14-2005 09:07 AM

Yours: Chocolate\install\his_fi les\ (see the gap between the fi les)

Correct: Chocolate\install\his_files\

Laters

aethan 04-14-2005 11:23 PM

Just a question, I installed it on all pages through putting it below the navbar template (or navbar2 template in my case) but the problem is that it doesn't have the name above it, and the button where normally states Shout Now!, says nothing at all now....

My site is www.icedaccounts.com

If anyone can help me with this problem I would be most pleased. Excuse me for taking up your time though :)

Kyderoy 04-15-2005 01:40 AM

There is no space in the file I check it again... that space may be an error when I posted. Below is the message again

Warning: chdir(): No such file or directory (errno 2) in d:\Inetpub\Chocolate\install\his_files\hack_instal l_b3.php on line 30

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

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

Marco van Herwaarden 04-15-2005 06:37 AM

You have renamed your admincp directory. To fix for the installation and all future installs of hacks that are distributed with the HIS installer do the following:

Go to your 'install/his_files' directory.
Rename 'hack_config_default.php' to 'hack_config.php'.
Open this file with an editor and change the value for $admincpdir to the location of your admincp directory.

Kyderoy 04-15-2005 08:10 PM

Thank you very much...It works

blinking8s 04-15-2005 09:58 PM

this has to be the most confusing 42 pages in history...haha

so its installed, everything wend great, only...it doesnt show up on the index, the code is there in the template from what i can see. I notice there were quite a few users having this issue, but browsing through I did not see a reply with the solution...

Sezmarone 04-16-2005 02:22 PM

Has anyone found the fix for Shoutbox refreshing, so the whole page does not refresh when you post a shout?

Norbert 04-16-2005 04:05 PM

Hallo,

i installed the hack, but i can't see the shoutbox on my forum. What's wrong?

PS: Sorry for my broken english :)
My version is 3.0.06

Nice Greetings from Vienna,
Norbert

JJH35 04-17-2005 01:14 AM

Fatal error: Call to undefined function: print_cpan_header() in /forum/install/his_files/hack_install_b3.php on line 67

Marco van Herwaarden 04-17-2005 06:12 AM

Quote:

Originally Posted by JJH35
Fatal error: Call to undefined function: print_cpan_header() in /forum/install/his_files/hack_install_b3.php on line 67

You must have edited your hack_install.php (there should never be a reason to do that), because on that line it read 'print_cp_header'.

Blam Forumz 04-17-2005 06:41 AM

Quote:

Originally Posted by Blam Forumz
can i get this hack working in the shoutbox? https://vborg.vbsupport.ru/showthread.php?t=59650

any help?

arek 04-18-2005 01:45 PM

I have vb. 3.0.7.

When i edit the index.php with the changes it look horrible i dont know what the problem is. The whole style is after diting complete different, it looks really horrible it cant be right

vulture 04-18-2005 04:00 PM

I installed this last night on 3.0.7
Breeze to install

dina 04-19-2005 06:42 PM

Hi,

I've been using the shoutbox without problems for the last few months, but all of a sudden it has started to delete messages everyday. It deletes all messages and starts all over every day.
Haven't changed any files, settings or altered the database.

Any ideas?

Kalomax 04-21-2005 06:02 AM

Sorry, i have no time to read 42 pages.

I have installed successfull it on vb 3.0.7
Then, i want to ask, how to edit or delete someone 's shout ?

uae-style 04-21-2005 03:00 PM

Quote:

Originally Posted by aethan
Just a question, I installed it on all pages through putting it below the navbar template (or navbar2 template in my case) but the problem is that it doesn't have the name above it, and the button where normally states Shout Now!, says nothing at all now....

If anyone can help me with this problem I would be most pleased. Excuse me for taking up your time though :)

same here :tired:

omsa 04-22-2005 04:16 PM

works great!

Doc203 04-24-2005 04:48 AM

error in Admin CP

--------------------------------------------------------------------------------

I installed this hack and the actual shoutbox works great, only problem is in the admin CP under shoutbox settings. Most of the settings show up but I get these 2 Errors at the top:

(1) Parse error: parse error, unexpected T_STRING in /home3/check123/public_html/newforum/includes/adminfunctions_options.php(96) : eval()'d code on line 1
If you set this to option #1, then users can edit other users with the same hierarchy rank (default). If you set it to option #2, then users can not edit users with the same hierarchy rank.
Show an Input Box/Textarea on Forumhome?

(2) Parse error: parse error, unexpected T_STRING in /home3/check123/public_html/newforum/includes/adminfunctions_options.php(96) : eval()'d code on line 1

Any ideas on how to fix it?

AmpSul 04-24-2005 06:56 PM

Hello,
Has anyone tried installing a second shoutbox on the same site?
My users have requested a separate shoubox for the arcade page.
Before I start looking into the installation code, I wanted to know if anyone has tried this.

(Hopefully, this question has not been asked before. I did a search -honest!)

Any info most appreciated.
Thanks, AmpSul

leeman 04-25-2005 06:07 AM

With knowledge of that I'm repeting my self ...

Is there a possibility of a new version where you can have the shoutbox as a popup version ....????

m0nde 04-26-2005 05:22 PM

It works!
Now i just have to modularize it for vBadvanced CMPS.

Thanks GeekyDesigns!

- Sid

Polo 04-26-2005 06:18 PM

Quote:

Originally Posted by m0nde
It works!
Now i just have to modularize it for vBadvanced CMPS.

Thanks GeekyDesigns!

- Sid

I have it running at my site (the shoutbox block) if you want it let me know.

playboy 04-28-2005 11:22 PM

I keep getting this... *See Attachment*

Freya 04-30-2005 06:38 PM

I am getting the same thing that playboy is. I am running 3.0.7

playboy 05-07-2005 11:22 PM

Bump! By The Way I too am running 3.0.7

Marco van Herwaarden 05-08-2005 08:21 AM

This means that you already had it installed. You are trying to run the installer again and it tries to add a column that is already there.

Try removing the column first from the language table.

SuperFly 05-08-2005 01:33 PM

is there a way where you can mass delete shouts?

carolmyt 05-08-2005 06:48 PM

Is there any support for this hack anymore? I've posted at the Geeky Designs site with a problem similar to one people have posted here with, and I've seen no response to either.

carolmyt 05-08-2005 07:26 PM

Well, just to have all my bases covered, here's my problem:

I've got problems with the SQL when I try to change usergroup permissions. First, I received this message:
Quote:

Database error in vBulletin 3.0.6:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Moderators',
description = '',
usertitle = 'Moderator',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
shoutview = '0',
shoutpost = '0',
shoutmaxdaily = '0',
shoutedit = '0',
shoutdelete = '0',
shouthdelete = '0',
shouteditothers = '0',
shoutdeleteothers = '0',
shouthdeleteothers = '0',
shoutip = '0',
shoutcoventry = '0',
shouthierarchy = '3',
attachlimit = '500000',
avatarmaxwidth = '130',
avatarmaxheight = '160',
avatarmaxsize = '20000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '65535',
pmquota = '50',
pmsendmax = '5',
uttstore_discount = '0',
forumpermissions = '2748927',
pmpermissions = '1',
calendarpermissions = '31',
wolpermissions = '3',
adminpermissions = '0',
genericpermissions = '2629263',
genericoptions = '22'
WHERE usergroupid=7
mysql error: Unknown column 'shoutview' in 'field list'

mysql error number: 1054
I saw people here had had similar problems, and tried the previously suggested SQL queries to uninstall, as a prelude to reinstalling. The queries were:
Quote:

ALTER TABLE language DROP phrasegroup_shoutbox;

DELETE FROM phrasetype WHERE phrasetypeid=716;

DROP TABLE IF EXISTS shoutbox_posts;

ALTER TABLE usergroup
DROP `shoutboxpermissions`,
DROP `shouthierarchy`,
DROP `shoutmaxdaily`;

ALTER TABLE user
DROP `shouts`,
DROP `shoutbanned`;
Then, when trying to uninstall the hack, I got this:
Quote:

Database error in vBulletin 3.0.6:

Invalid SQL: ALTER TABLE language DROP phrasegroup_shoutbox
mysql error: Can't DROP 'phrasegroup_shoutbox'. Check that column/key exists

mysql error number: 1091
I'm still getting the error message when I try to change usergroups, and now my homepage is unaccessible; I'm just getting the generic database error message.

My site has been down because of this for over 24 hours now, and I don't know how to fix it. At this point, I'd be happy just getting the shoutbox uninstalled. Please, SOMEBODY help.


All times are GMT. The time now is 07:27 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.02003 seconds
  • Memory Usage 1,840KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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