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)

ambrosious 02-05-2005 08:04 PM

Quote:

Originally Posted by noppid
Must be, there is a whole setting group in the ACP for the shoutbox with alot of options. It's usually the last option in vBulletin options.

Went back to the hack and cannot find the place where options are at?

Can someone point it out to me. What I see is the following:
PHP Code:

Open admincp/index.php
Find this
:
// ####################################

    // ***
    
if (can_administer('canadminthreads'))
    {
        
$printhr true;
        
construct_nav_option($vbphrase['subscription_manager'], 'subscriptions.php?do=modify''|');
        
construct_nav_option($vbphrase['add_new_subscription'], 'subscriptions.php?do=add');
        
construct_nav_group($vbphrase['subscriptions'], '<hr />');
    }

// ####################################

Replace it with this:
// ####################################

    // ***
    
if (can_administer('canadminthreads'))
    {
        
$printhr false;
        
construct_nav_option($vbphrase['subscription_manager'], 'subscriptions.php?do=modify''|');
        
construct_nav_option($vbphrase['add_new_subscription'], 'subscriptions.php?do=add');
        
construct_nav_group($vbphrase['subscriptions'], '<hr />');
    }
    
// ***
    
$printhr true;
    
construct_nav_option('Shout Manager''shout.php?do=modify''|');
    
construct_nav_group('Shoutbox''<hr />'); 

This gives me the option to clean up the shouts but not the options I need.

iTaLiAnBoY165 02-06-2005 02:55 PM

ok i got the instalation to work but after the template thing i get this error

ONIMUSHA1140 02-06-2005 08:15 PM

im having a problem when i installed this everything worked fine except the only thing is...its not showing up on the forums...not anywhere...the settings are there and they are it is on but i still dont see it

Spyke 02-07-2005 07:24 PM

hmm, ok, problem..there's no links on the shoutbox.php page for me to edit/delete shouts >_<. And yes i have it set in the usergroup permissions that i can.

noppid 02-07-2005 08:22 PM

Quote:

Originally Posted by Spyke
hmm, ok, problem..there's no links on the shoutbox.php page for me to edit/delete shouts >_<. And yes i have it set in the usergroup permissions that i can.

Click a users name. ;)

Spyke 02-07-2005 10:02 PM

wow, now that, is nifty :D

Thanks

ambrosious 02-07-2005 10:25 PM

Quote:

Originally Posted by ambrosious
Went back to the hack and cannot find the place where options are at?

Can someone point it out to me. What I see is the following:
PHP Code:

Open admincp/index.php
Find this
:
// ####################################

    // ***
    
if (can_administer('canadminthreads'))
    {
        
$printhr true;
        
construct_nav_option($vbphrase['subscription_manager'], 'subscriptions.php?do=modify''|');
        
construct_nav_option($vbphrase['add_new_subscription'], 'subscriptions.php?do=add');
        
construct_nav_group($vbphrase['subscriptions'], '<hr />');
    }

// ####################################

Replace it with this:
// ####################################

    // ***
    
if (can_administer('canadminthreads'))
    {
        
$printhr false;
        
construct_nav_option($vbphrase['subscription_manager'], 'subscriptions.php?do=modify''|');
        
construct_nav_option($vbphrase['add_new_subscription'], 'subscriptions.php?do=add');
        
construct_nav_group($vbphrase['subscriptions'], '<hr />');
    }
    
// ***
    
$printhr true;
    
construct_nav_option('Shout Manager''shout.php?do=modify''|');
    
construct_nav_group('Shoutbox''<hr />'); 

This gives me the option to clean up the shouts but not the options I need.


Anyone?

noppid 02-07-2005 10:42 PM

Maybe you are missing settings from the install? Just a guess.

ambrosious 02-07-2005 11:36 PM

That's what I'm saying, any idea which settings or code I'm missing? I've redownloaded the file and still don't have it?

BigKev43 02-08-2005 07:20 PM

Is there suppose to be a file called shout.php in the admincp dir?

trying to get my options avaliable in the admin cp and added the code above.
I now have the option avaliable but when i click it i get page cannot be disaplayed.

its point to shout.php?do=modify

as the above code tells it to.
construct_nav_option('Shout Manager', 'shout.php?do=modify', '|');

But i dont have a shout.php nor is there one in the zip???

any ideas?

BigKev43 02-08-2005 07:24 PM

Quote:

Originally Posted by noppid
Are you using the enhanced editor or the full blown WYSIWYG editor?

Just curious.


Im a n00b...not sure what you mean here... when i go into the main part of the shoutbox....where it lists stats and all that stuff....the editor now works in there. hope that helps

memorex 02-10-2005 12:13 AM

Quote:

Originally Posted by karlsson
I get the following error when installing Shoutbox Hack 1.04b



using mysql 4.1.8

Does the CREATE TABLE statement have to be changed to work with 4.1.8 ?

Thanks in advance for any help.
karlsson.

I'm having the same problem as karlsson, does anyone have an answer to getting past this?



Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /www/i/insanity/htdocs/forum/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /www/i/insanity/htdocs/forum/includes/db_mysql.php on line 389


Code:

Database error in vBulletin 3.0.6:

Invalid SQL: CREATE TABLE shoutbox_posts (
                                  `shoutid` BIGINT (255) UNSIGNED DEFAULT '0' AUTO_INCREMENT,
                                  `text` TEXT,
                                  `userid` BIGINT (255) UNSIGNED DEFAULT '0',
                                  `username` VARCHAR (255) DEFAULT '0',
                                  `ip` VARCHAR (25) DEFAULT '0',
                                  `time` BIGINT (20) UNSIGNED DEFAULT '0',
                                  `edittime` BIGINT (20) UNSIGNED DEFAULT '0',
                                  `edituser` VARCHAR (255) DEFAULT '0',
                                  `deleted` TINYINT(1) UNSIGNED DEFAULT '0',
                                  PRIMARY KEY(`shoutid`))
mysql error: Invalid default value for 'shoutid'

mysql error number: 1067


eva01_ 02-11-2005 01:06 AM

hmm this is odd i am getting that on a persons site that i am *trying* to install it on as well.

Frozen Dreams 02-11-2005 04:32 PM

Quote:

Originally Posted by BigKev43
Is there suppose to be a file called shout.php in the admincp dir?

That'd be my question too.
Have the version installed on 3.0.6 ... yet I still dont see the option to mass prune and auto-update the shout-count of users. It'd be nice to have that count according to the shouts that actually exist.

I gave the cron job posted somewhere in this thread a try, but that does not update the count either. Anyone ever attempted a solution for this and would like to share? :D

wb-legends 02-16-2005 05:17 AM

i installed the hack, and everything seems to be working fine except my usergroup.php page...i keep getting this error in the admin cp

Parse error: parse error, unexpected $ in /home/.darcy/amarisy/wb-legends.net/admincp/usergroup.php on line 1360

how can i fix this? o.o lol

TruckMuddr 02-16-2005 06:01 AM

All I can think of (not being able to see it) is that you messed up one of those 2 code changes. I'd look to see that didn't forget a } or have one to many. I took a fresh usergroup file and added the shout code to it and line 1360 has nothing to do with the shoutbox, So I'm assuming you have more then just this installed.

If you want I can look at it for you and see if I can figure it out. If So PM me.

wb-legends 02-16-2005 07:24 AM

fixed, thanks a lot :D

TruckMuddr 02-16-2005 07:25 AM

not a problem, glad I could help :)

soniceffect 02-16-2005 08:04 PM

Quote:

Originally Posted by memorex
I'm having the same problem as karlsson, does anyone have an answer to getting past this?



Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /www/i/insanity/htdocs/forum/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /www/i/insanity/htdocs/forum/includes/db_mysql.php on line 389


Code:

Database error in vBulletin 3.0.6:

Invalid SQL: CREATE TABLE shoutbox_posts (
                                  `shoutid` BIGINT (255) UNSIGNED DEFAULT '0' AUTO_INCREMENT,
                                  `text` TEXT,
                                  `userid` BIGINT (255) UNSIGNED DEFAULT '0',
                                  `username` VARCHAR (255) DEFAULT '0',
                                  `ip` VARCHAR (25) DEFAULT '0',
                                  `time` BIGINT (20) UNSIGNED DEFAULT '0',
                                  `edittime` BIGINT (20) UNSIGNED DEFAULT '0',
                                  `edituser` VARCHAR (255) DEFAULT '0',
                                  `deleted` TINYINT(1) UNSIGNED DEFAULT '0',
                                  PRIMARY KEY(`shoutid`))
mysql error: Invalid default value for 'shoutid'

mysql error number: 1067



Seem to be having this problem too?? Anyone got round it?

face0fdie 02-16-2005 09:03 PM

I Installed complete this hack but it does not show shoutbox in my forum home page
please help me
thanks

ambrosious 02-16-2005 09:53 PM

And I am still having trouble accessing the shoutbox settings in the admin control panel.

ambrosious 02-16-2005 10:07 PM

Is there something to add in phrases? I think its part of the vbulletin_options phrase maybe?

savageracer 02-17-2005 01:28 AM

I installed this mod. .I have my admincp in a differant folder name .. Is there something I have to modify to make this shout box work.. at the end of installing it I get a error.. I remember modding a file a long time ago installing this mod but now I can't remember where I have to change the link to the admincp.. Please help

Thanks

savageracer 02-17-2005 12:55 PM

This is my error after I updating Vbullatin.. I ran the installer again but I ran the whole thing instead of just the template updates.. Please Help

Database error in vBulletin 3.0.6:

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

mysql error number: 1060

Date: Thursday 17th of February 2005 06:52:58 AM
Script: http://www.my-domain-name.com/forum/...=Shoutbox_Hack
Referer:
Username: My User Nam
IP Address: My IP Addy

savageracer 02-17-2005 01:12 PM

I tried running the installer with just doing the styles and I get a error when I start up the chat room.. Here it is..

Invalid SQL:
SELECT s.*, u.username AS absusername
FROM vb3_shoutbox_posts s
LEFT JOIN vb3_user u ON (s.userid=u.userid)
WHERE (deleted='0' OR deleted IS NULL)
ORDER BY time DESC LIMIT 20

mysql error: Table 'mydomainname.vb3_shoutbox_posts' doesn't exist

mysql error number: 1146

Date: Thursday 17th of February 2005 07:10:53 AM
Script: http://my domain name.com/forum/shoutbox.php?do=iframe
Referer: http://my domain name.com/forum/index.php?

Vizionz 02-17-2005 04:45 PM

okay install went fine but i have a couple minor design issues.

1.how do i change the horizontal lines they look like crap
2. how can i change the Shout input button to match the style of post box. i do not like the white . i have my post box in ie where its blue but this is white
3, the background of the shoutbox on forum home i am taking it is following the background of the page how can i manually eidt these options so i can custimize it to fit my forum besides that great work.

savageracer 02-18-2005 10:24 PM

Quote:

Originally Posted by soniceffect
Seem to be having this problem too?? Anyone got round it?

Ok what I did was deleted the table for the shout box in language and Phrasetype and now I'm to the same problem as listed above.. The invaild shoutbox ID

savageracer 02-18-2005 11:25 PM

Quote:

Originally Posted by memorex
I'm having the same problem as karlsson, does anyone have an answer to getting past this?



Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /www/i/insanity/htdocs/forum/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/php4/lib/php') in /www/i/insanity/htdocs/forum/includes/db_mysql.php on line 389


Code:

Database error in vBulletin 3.0.6:

Invalid SQL: CREATE TABLE shoutbox_posts (
                                  `shoutid` BIGINT (255) UNSIGNED DEFAULT '0' AUTO_INCREMENT,
                                  `text` TEXT,
                                  `userid` BIGINT (255) UNSIGNED DEFAULT '0',
                                  `username` VARCHAR (255) DEFAULT '0',
                                  `ip` VARCHAR (25) DEFAULT '0',
                                  `time` BIGINT (20) UNSIGNED DEFAULT '0',
                                  `edittime` BIGINT (20) UNSIGNED DEFAULT '0',
                                  `edituser` VARCHAR (255) DEFAULT '0',
                                  `deleted` TINYINT(1) UNSIGNED DEFAULT '0',
                                  PRIMARY KEY(`shoutid`))
mysql error: Invalid default value for 'shoutid'

mysql error number: 1067


Can we resolve this Does anybody have answers.. :)

Magical1 02-19-2005 11:06 PM

Okay i installed it and it works great *** clicks install ***
i have a question now.........is there anyway to fix the refresh so after making a shout the whole page does not refresh and you have to start at the top of the page to get back to the shoutbox.............i just want the shoutbox to refresh.......any ideas?

between worlds 02-20-2005 01:39 PM

I just upgraded to 3.0.7 and I'm having a problem with the shout box. If I direct link to it then it's fine but on the main forum page it shows up like this:

http://img.photobucket.com/albums/v2...on/problem.jpg

TMAC 02-22-2005 10:08 PM

I am having the same problem. Should I reinstall the shoutbox?

The rest of the upgrade went smoothe.

bahawolf 02-24-2005 03:10 PM

The people at GeekyDesigns Board said that you can use the installer to reinstall the templates. (Use the override feature on the installer). That worked for me, but only if I don't use an IFrame, or it doesn't work on IE. On Mozilla, both work.. so go figure.

uae-style 02-28-2005 09:39 PM

how can i make the shoutbox appers in every page?

TruckMuddr 02-28-2005 09:42 PM

instead of putting the code on the forumhome template put the code at the bottom of the navbar template(For shoutbox at top of page below the navbar) or put the code at the begining of the footer template(for Shoutbox at bottom of page above the footer)

uae-style 03-02-2005 01:42 PM

thanx man :D
but why when i post a shout the script redirects me 2 the main page (forumhome) ?

eva01_ 03-02-2005 02:05 PM

probably because the changes of the shoutbox are on the index.php page not on the forumdisplay page and everything else

uae-style 03-02-2005 03:13 PM

ummm i dont know! maybe...
anybody can help plz?

AmpSul 03-04-2005 01:56 AM

Hello,
I'm getting the following error when trying to do a clean install on 3.0.7.
Does anyone have any ideas on how to fix this (or what I'm doing wrong?)

valid SQL: SELECT varname, text FROM vb3_phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1

mysql error number: 1064

Thanks in Advance,
AmpSul

[** okay, forget this.... i figured it out. it's installed. works like a charm!! **]

shadiguy1 03-04-2005 10:48 PM

cant get this to install. Keep on getting this error with my datbase. and the error i look in my datbase and dont see anything for it in there or a phraasegriup for that metter. Please advise.

Lionel 03-05-2005 01:32 AM

never mind


All times are GMT. The time now is 02:04 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.02181 seconds
  • Memory Usage 1,862KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (9)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