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)
-   -   Webpage & Guestbook Script (https://vborg.vbsupport.ru/showthread.php?t=71065)

docvader 01-16-2005 05:05 AM

Got it to work, after upgrade from 3.03.

Had to reinstall SOME phrases, not all, for some strange reason, via the MYSQL INSTALL commands.

Also, had to redo all the file edits, (I was missing the Guestbook / Webpage Preferences also) to make sure that there were not any screw ups during the upgrade process. Yes, regardless of how carefully you might upgrade, using software comparison tools, it's easy to miss something.

Saved a phrase, did the vboptions/ Guestbook thing, saved the permissions, and it works.

Hope we don't have to do one of these upgrades again for awhile...

UManiac 01-16-2005 05:22 AM

Quote:

Originally Posted by UManiac
UManiac Clicks Install :)

Thanks Sweedie - everything seems to be running ok with the exception of one thing:

When I edit my usergroups to have/or not access to a webpage or guestbook the choices I make are never retained...

Any ideas why?

Anyone run into this problem? Install went smoothly for me - but, permissions never stay on my usergroups...

Snow 01-16-2005 09:18 AM

Quote:

Originally Posted by Swedie
If you just updates your vb to 3.0.5 it will of course die / dissappear.

I do not have 3.0.5 still and can therefor not test it out. I don't have the money to pay the new membership fee. Sorry guys. Gotta wait until then. :(

I've managed to get it working OK on my 3.0.5 test forum so it does work. For some bizarre reason, however, it doesn't want to work on the live forum where it was previously installed. :ermm:

MojoNixon 01-16-2005 02:44 PM

ah nice..some have finally managed to run it on 3.0.5 ..well ok i will try the same by now again ..hope i gan make the preferences visible in the admincp.

ogetbilo 01-16-2005 05:13 PM

Quote:

Originally Posted by docvader
Got it to work, after upgrade from 3.03.

Had to reinstall SOME phrases, not all, for some strange reason, via the MYSQL INSTALL commands.

Also, had to redo all the file edits, (I was missing the Guestbook / Webpage Preferences also) to make sure that there were not any screw ups during the upgrade process. Yes, regardless of how carefully you might upgrade, using software comparison tools, it's easy to miss something.

Saved a phrase, did the vboptions/ Guestbook thing, saved the permissions, and it works.

Hope we don't have to do one of these upgrades again for awhile...

dude can you explain your reinstallation process like which phrases are missing ?
cause i want to get this script work and i dont want to mess with the database...

docvader 01-16-2005 05:52 PM

Quote:

Originally Posted by ogetbilo
dude can you explain your reinstallation process like which phrases are missing ?
cause i want to get this script work and i dont want to mess with the database...

Well, I could not run the install.sql through MyPHP, because, the first few "INSTALL" commands will stop the process, as it will find previous copies of those phrases. Those beginning phrases were not destroyed in the vb upgrade.

So, if you open install.sql with Notebook, and copy each command into your VB Admin maintenance area, starting from the bottom of the page, you'll find that those commands will be accepted into your database. If you work your way up, eventually you'll get to the point where you'll get MYSQL errors; I've found that you can stop there, because those phrases are still in your database. If you really want to play it safe, try installing each and every one. There are a few, on the very top, that need to be reinstalled, such as the ones that need to go into the Usergroup Manager. These are:

Can have guestbook
Can have webpage
Can view guestbook
Can view webpage
Can post in guestbook
(and a whole bunch on the very bottom of install.sql)

Therefore: open install.sql with Notebook (or whatever), copy each individual INSTALL line into ADMIN CP / Import and Maintenance / Execute SQL Query, starting from the bottom of the page, and work your way up, until you get MYSQL errors. Also, input the commands that reference the above five statements.

Second, I suggest "reinstalling" all file edits. I was amazed at what got changed when I upgraded to 3.05; it was easy to miss the file edits that this hack has you do.

Therefore: Go through install process again, concerning file edits, as if you were doing a clean install. You might find that some of your hack file edits got wiped during upgrade.

Third, there should be no problems with the previous install of templates. I found that none of those had issues.

Fourth, open ADMIN CP / Languages and Phrases / Search in Phrases; search for "guestbook", and save one of those phrases.

Fifth, open ADMIN CP / VBulletin Options, look for Guestbook / Webpage Preferences, do what you need to in there (it should show, once you've fixed your file edits), and save it.

Sixth, open ADMIN CP / Usergroup Manager, check your permissions. (Mine didn't change during the upgrade, but, because some phrases got lost, my Usergroup manager had some empty lines), and save them.

That's what worked for me. I don't think I missed anything.

docvader, AKA "dude"

ogetbilo 01-16-2005 06:59 PM

Thanks docvader ,
By your help I get the script working.

Snow 01-16-2005 08:35 PM

Quote:

Originally Posted by docvader
Therefore: open install.sql with Notebook (or whatever), copy each individual INSTALL line into ADMIN CP / Import and Maintenance / Execute SQL Query, starting from the bottom of the page, and work your way up, until you get MYSQL errors. Also, input the commands that reference the above five statements.

:eek: I was too lazy to run each individual INSERT, so I just deleted all the phrases and settings (see attached delete.txt) and re-executed the insert.sql (without the create tables). It seemed to work for me. :squareeyed:

MojoNixon 01-16-2005 09:48 PM

I can´t believe it ..its working again...i just checked the templates again ... and after that all was visible in admincp. What about the smilies in the guestbook? They are not converted to icons ...hmm i can´t remember what to do at this point.

SiFor 01-18-2005 09:52 AM

A couple of things:

1: There seems to be a problem with the template modify_webpage on my site as when I edit my webpage in the vbcode mode the footer of the page is not correct (see image) and the page width expands. How do I fix this?

2: Also the alt text for the "Go vbcode" button has the wrong phrase. Simple enough to change though and I've figured that one out.

3. When in the HTML editing mode the smiles dont work so would it be possible to remove the smile box from the page.

Great hack BTW, thanks for the time your put into this. Good Job. :up:


All times are GMT. The time now is 07:42 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.01884 seconds
  • Memory Usage 1,751KB
  • 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_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