Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Closed Thread
 
Thread Tools
[HTL] & [Normal] Shoutbox Hack - 1.03d Details »»
[HTL] & [Normal] Shoutbox Hack - 1.03d
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 01-09-2004 Last Update: Never Installs: 83
Supported
 

Re-released at https://vborg.vbsupport.ru/showthrea...790#post547790

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 01-13-2004, 01:56 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey link, I uploaded all the files and such and ran the installer, however, all I get is that it automatically found my shoutbox version and when I click through, it says it doesn't need to update anything.

Nowhere in the installer does it ask for a new install (and I need a new install obviously).

Where for do I find this option?

Thanks
)O( Cloudrunner )O(

i.e. when I open the file for the first time I get:

Quote:
Welcome to the upgrade/install script of the shoutbox hack by squall14716. This script will automatically install the phrases, settings, and database changes for you.

We have automatically detected your shoutbox verion. You may start the upgrade process by clicking the link below.

Click here to continue.
And that's it.
  #53  
Old 01-13-2004, 02:02 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cloudrunner
Hey link, I uploaded all the files and such and ran the installer, however, all I get is that it automatically found my shoutbox version and when I click through, it says it doesn't need to update anything.

Nowhere in the installer does it ask for a new install (and I need a new install obviously).

Where for do I find this option?

Thanks
)O( Cloudrunner )O(

i.e. when I open the file for the first time I get:

And that's it.
what shoutbox did you have before
cause i was about to install this, cause we have been talking and he made an converter for the shoutbox here https://vborg.vbsupport.ru/showthread.php?t=59602and
i just wanted to know if it is working or not
  #54  
Old 01-13-2004, 02:07 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by monstergamer
what shoutbox did you have before
cause i was about to install this, cause we have been talking and he made an converter for the shoutbox here https://vborg.vbsupport.ru/showthread.php?t=59602and
i just wanted to know if it is working or not
no other shoutbox...clean install...
  #55  
Old 01-13-2004, 02:47 AM
Darkwolf's Avatar
Darkwolf Darkwolf is offline
 
Join Date: Aug 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me click install
  #56  
Old 01-13-2004, 10:20 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, in other words it sees the a setting that RC1 put in there controlling your shoutbox version. So that means that you have already ran the installer.

Take uninstall out of the Misc folder in the zip and run it in phpMyAdmin, then run these queries as well.
[sql]DELETE FROM phrasetype WHERE phrasetypeid='716';
ALTER TABLE language DROP phrasegroup_shoutbox;[/sql]
  #57  
Old 01-13-2004, 10:35 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Well, in other words it sees the a setting that RC1 put in there controlling your shoutbox version. So that means that you have already ran the installer.

Take uninstall out of the Misc folder in the zip and run it in phpMyAdmin, then run these queries as well.
[sql]DELETE FROM phrasetype WHERE phrasetypeid='716';
ALTER TABLE language DROP phrasegroup_shoutbox;[/sql]
If I run the uninstall from the misc folder I'll end up deleting settings from the phrase table that are inherent within vb3.

setting_stopshouting_title
setting_stopshouting_desc
options_options_stopshouting_text
options_options_stopshouting_title

None of the other settings, varnames, or tables are present in my database because I have never installed the shoutbox (rc1 or otherwise). This is a clean install attempt on an unhacked board (not live yet (testing server)).

I do, however, have a copy of the RC1. Should I run that first? Or hold off until we figure out why RC2 is not liking a clean install?

please advise.

Thanks
)O( Cloudrunner )O(
  #58  
Old 01-13-2004, 10:44 AM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll look into it. It seems like an RC2 installer bug. Install it from the RC1 installer insetad for now.

EDIT: Attachment removed.
  #59  
Old 01-13-2004, 10:58 AM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
I'll look into it. It seems like an RC2 installer bug. Install it from the RC1 installer insetad for now.
Looking at the install code for RC2, I'm personally thinking that perhaps it lies somewhere around here?

Between line 84 and line 100
Code:
	if ($vboptions['shoutbox_version_no_touch'] != SHOUTBOX_VERSION_SH) {
		// Version auto-detected (RC1 and above)
		echo "We have automatically detected your shoutbox verion. You may start the upgrade process by clicking the link below.<br /><br />";
		echo "<a href='".THIS_SCRIPT.".php?step=2&amp;version=".$vboptions['shoutbox_version_no_touch']."'>Click here to continue.</a>";
		exit;
	} elseif ($vboptions['shoutbox_version_no_touch'] == SHOUTBOX_VERSION_SH) {
		echo "We have automatically detected your current shoutbox version, and it appears to be up-to-date.";
		exit;
	} else {
		// Version cannot be auto-detected (Gamma 1 and below)
		echo "We cannot detect your shoutbox version. This means that you are running 1.0 Gamma 1 or below, or have not installed the shoutbox yet. You may use this script to continue upgrading <b>but only if you are running 1.0 Gamma 1 or doing a clean install</b>! This script cannot upgrade your shoutbox if you are running Beta 5 or below, so upgrade to Gamma 1 manually first!<br /><br />";
		echo "If you are running 1.0 Gamma 1, ";
		echo "<a href='".THIS_SCRIPT.".php?step=2&amp;version=10g1'>click here to start the upgrade to ".SHOUTBOX_VERSION.".</a> ";
		echo "If you want to do a new install of the shoutbox, ";
		echo "<a href='".THIS_SCRIPT.".php?step=2&amp;version=new'>click here to install ".SHOUTBOX_VERSION.".</a> ";
		exit;
	}
Since back on line 61 your conditionals look for shoutbox_version_no_touch, and if not found they set $nextversion = "1.0 Release Candidate 1", but in the line 84 code it again looks for the shoutbox_version_no_touch, but has nothing in that conditional about the $nextversion variable?

Perhaps adding a conditional that compares what was set in $nextversion versus what is in SHOUTBOX_VERSION, or SHOUTBOX_VERSION_SH? The reason I say this is that for a clean install the following (from line 84) will always be "true":
Code:
$vboptions['shoutbox_version_no_touch'] != SHOUTBOX_VERSION_SH
because $vboptions['shoutbox_version_no_touch'] will be non-existant on a clean install, and therefore will never be = SHOUTBOX_VERSION_SH.

did that even make sense?
  #60  
Old 01-13-2004, 06:54 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I saw that right after looking at it now. I don't see why I didn't catch it before.

I have fixed it, just give me a minute to put it in the zip.
  #61  
Old 01-13-2004, 07:02 PM
Cloudrunner's Avatar
Cloudrunner Cloudrunner is offline
 
Join Date: May 2003
Location: Butte, MT
Posts: 635
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Link14716
Yes, I saw that right after looking at it now. I don't see why I didn't catch it before.

I have fixed it, just give me a minute to put it in the zip.
kewl.

Thanks! I'l give it a shot as soon as the zip is up
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04863 seconds
  • Memory Usage 2,309KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete