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-14-2005 04:29 PM

Quote:

Originally Posted by Deviant++
This thing is just not working out right for me, I've done the file changes, but I couldn't get the sql to run properly, the manual should'hv been slightly more detailed :(

anyway, can someone give me a walkthrough how I can get it to install in the db properly ?

It died for me too, when I upgraded to 3.05. Looking forward to a fix for this.

Swedie 01-15-2005 08:25 AM

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. :(

It is very weird that some of you have problems, while some don't and it runs flawless (like it does for me). There must be something that you do that causes it.

T3Media, would you allow me to have access to your FTP and MySQL? then contact me by PM and give me the info and I'll set it all up for you.

UManiac 01-15-2005 08:38 PM

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?

docvader 01-15-2005 08:52 PM

I'm having trouble with the ADMIN CP / Usergroup settings phrases being discovered also, after upgrading to 3.05. The phrases seem to be in my database, but the new version of vb can't find them.

yoyoyoyo 01-15-2005 11:31 PM

excellent hack! I had to install all of the phrases manually, but it went flawlessly!

***clicks install***

edit: using version 3.0.5 of vb FYI

yoyoyoyo 01-15-2005 11:49 PM

Quote:

Originally Posted by docvader
I'm having trouble with the ADMIN CP / Usergroup settings phrases being discovered also, after upgrading to 3.05. The phrases seem to be in my database, but the new version of vb can't find them.

Did you follow the last "!!IMPORTANT PART!!" steps? make sure you do the updates via the Usergroup Manager for EACH usergroup.

Also this is confusing:
Quote:

Go into vBulletin Options > Guestbook / Webpage Preferences. Click "Update".
Since there is no "Update" option on that page, instead scroll to the bottom and hit "save" ;)

docvader 01-16-2005 12:19 AM

Yoyo, check this out:
https://vborg.vbsupport.ru/showpost....98&postcount=4

What's missing , are the Webpage hack phrases.

(I've already installed this a while ago, it worked fine; the upgrade to 3.05 wiped it out)

Phrases are there, all file edits are done, all templates are available. But 3.05 can't find the phrases that were installed in 3.03. I have no idea why.

yoyoyoyo 01-16-2005 12:35 AM

Quote:

Originally Posted by docvader
Yoyo, check this out:
https://vborg.vbsupport.ru/showpost....98&postcount=4

What's missing , are the Webpage hack phrases.

(I've already installed this a while ago, it worked fine; the upgrade to 3.05 wiped it out)

Phrases are there, all file edits are done, all templates are available. But 3.05 can't find the phrases that were installed in 3.03. I have no idea why.

gotcha! Your usergroup manager definitely looks screwy. What happens if you try to add the phrases again? Try adding jjust one phrase from the "the "upgrade" sql file manually and see what happens...
[SQL]INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_gb_avatarheight_title', 'Set Avatar Height', 5000);[/SQL]
do you get the "duplicate phrase" error?

ogetbilo 01-16-2005 01:27 AM

docvader : just search guestbook in languages and selection. When you see one edit and save again. All the phrases will be saved then.
I am also trying to get this script work in 3.0.5

ogetbilo 01-16-2005 01:51 AM

I think my main problem is I can't get "Guestbook / Webpage Preferences" in the vbulletin options. If I can check and update the settings I probably will be able to get this script working.
Swedie where is the file edit for the vbulletin options cause i couldn't find it in the install or upgrade instructions also can you write the exact phrase for Guestbook / Webpage Preferences

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:

Neutral Singh 01-19-2005 09:31 AM

** Installed in first attempt ** THANKS SWEDIE !!

Is it possible that the a user can create webpage in the internal enhanced WYSIWYG Editor so that members is spared of formatting the webpage and rather cut paste the stuff onto the editor. Anyways, I have been looking for this hack for eternity... i am shocked that missed it out for 2-3 months since its official launch. Anayways, kudos to Swedie...

Respect

docvader 01-22-2005 12:23 AM

Upgrade to 3.06

Same issues as upgrade to 3.05. Above directions seem to take care of it, post 496 and 498.

Wasn't that fun.
rich

Sean S 01-22-2005 02:37 AM

Swedie you are awsome man, after a few days I was finally able to fix some of the coding and get it working on my test forums and now I'm going to install it to my actual forums. I'll make sure that I'll donate as soon as I get paid this month.

defi 01-24-2005 01:15 AM

Using this hack, I decided to take it a step further - a type of myspace.com reformed.

Basically, I created a type of member.php (to keep some of the variables I may need etc in tact) to mypage.php and placed the code in that file. Then, I added a custom field where users could edit the css of their custom page. Basically, the users now can create their own, fully coded page which uses their own template in theory.

I'm thinking of actually also adding another option so user's can literally create a type of myspace.com theme which displays their profile picture, and other custom fields they provide using the template they used on this modification.

Great hack. (I've included screenshots to show you).

Sean S 01-24-2005 01:48 AM

thats a very nice idea you have there with the CSS, keep up the good work.

UManiac 01-24-2005 02:45 AM

Quote:

Originally Posted by defi
Using this hack, I decided to take it a step further - a type of myspace.com reformed.

Basically, I created a type of member.php (to keep some of the variables I may need etc in tact) to mypage.php and placed the code in that file. Then, I added a custom field where users could edit the css of their custom page. Basically, the users now can create their own, fully coded page which uses their own template in theory.

I'm thinking of actually also adding another option so user's can literally create a type of myspace.com theme which displays their profile picture, and other custom fields they provide using the template they used on this modification.

Great hack. (I've included screenshots to show you).

Can you post a copy of the file you've changed? I'm curious to see what you did...

You added the custom field using the adminCp?

Thanks

defi 01-24-2005 03:34 AM

Quote:

Originally Posted by UManiac
Can you post a copy of the file you've changed? I'm curious to see what you did...



Thanks

My modification was pretty much custom tailored to my site, and the coding is pretty ugly since I hadn't planned on releasing it... The big thing is using this css will basically overwrite the $bgcolor variable since it will be useless and I found no more use for the font and font color variables so if you're serious about doing this, I suggest giving your users pre-defined css text or something to give them a start with.

If anyone is serious about setting the css (basically) in place of the other body tags, pm me and I'll write a rough tutorial of how I did it.

Quote:

You added the custom field using the adminCp?
No, this field required me to insert a new field into the webpage table and two file modifications

Snow 01-24-2005 06:27 AM

Cool idea Defi :D I'd love to see how you did it.

Do you have to have html enabled for the webpage in order for the custom css to work?

Harlequin 01-24-2005 08:25 AM

Just out of curiosity, I was curious if someone had removed the hard-coded HTML (such as how the guestbook entries are in the member.php file) and actually made them into vB templates instead? The webpage settings I can understand for being configurable and hardcoded in a file (webgbset.php) -- but the guestbook is something I'd like to be tied in with /my/ site, not the user's webpage.. especially if a user doesn't have a webpage to begin with. There're some things here I'm noticing in the code that can't be configured without dropping them out.. and considering I'd like tcat and thead to be used a bit more for this (for ease of layouts changing so everything matches).. I think you get where I'm going here. I think. Even if it remained hard-coded and the guestbook look were changed up to be used with 'tcat's and 'thead's, 'alt1, alt2, smallfont', etc. etc. etc., I'd go for that, too.

Granted, I can do this, but I was curious of anyone else had taken on this task. But, great hack -- works beautifully here on 3.0.3 with what I've tested.

merseybeat 01-24-2005 08:27 AM

This sounds like the hack of the century... I am going to try and install this tonight.. One question though.

I have checked the insert file for the database and just need to clear something up before I insert...

Are you missing a prefix in the

INSERT INTO `phrase`

As you have not created a table called 'phrase'
I can only assume you are inserting into the existing 'phrase' table and in my case that would be 'vb3_phrase'

So do I change all the 'phrase' to 'vb3_phrase'

i.e.

INSERT INTO `vb3_phrase`

Thanks

Eddie Hughes

Deviant++ 01-24-2005 03:47 PM

any options to keep a check on what users uplaod yet ?

merseybeat 01-24-2005 04:19 PM

Intalled it, worked first time.. Easy,, other potential users just remember to consider your dbase prefix, I you use phpmyadmin you cannot go wrong...
One thing I did notice though... phpmyadmin fails to read all of the "insert" file ???
I just opened it and added each section one at a time to my tables.. Weorked fine after that... Expect a little reward my friend..

Thanks again

Eddie Hughes

defi 01-24-2005 08:23 PM

Quote:

Originally Posted by Snow
Cool idea Defi :D I'd love to see how you did it.

Do you have to have html enabled for the webpage in order for the custom css to work?

The css variable I used is placed in the head tag like so;
PHP Code:

<!-- CSS Stylesheet -->
<
style type="text/css">
$webpage[css]
</
style

This works on either vbcode or html :)

I'll write a rough tutorial in a few days... I'm a little busy with other affairs, so when I get the chance, I'll post it.

Snow 01-25-2005 12:39 PM

Quote:

Originally Posted by defi
The css variable I used is placed in the head tag like so;
PHP Code:

<!-- CSS Stylesheet -->
<
style type="text/css">
$webpage[css]
</
style

This works on either vbcode or html :)

I'll write a rough tutorial in a few days... I'm a little busy with other affairs, so when I get the chance, I'll post it.

:) I look forward to it, thanks. :)

UManiac 01-26-2005 12:01 AM

Are they supposed to work?

I tried using the regular vBcode to insert an inlaine image, i.e.

Code:

[ IMG ] http://path.to.my.image [ / IMG ]
But id did not displaythe image as it should have...

Did I miss a setting somewhere? I only allow my users to use vBcode and being able to put images on their pages is a plus...

Thanks

UManiac 01-26-2005 12:04 AM

Quote:

Originally Posted by defi
I'll write a rough tutorial in a few days... I'm a little busy with other affairs, so when I get the chance, I'll post it.

Thanks defi!

I look forward to seeing waht you put together :)

pagekeeper 01-27-2005 12:19 AM

yeh its certainly something i've asked my community of adding, would it be possible to for moderators to screen the sites before the profile gets updated ... i mean how easy could it be to add something thats against the rules ?

Vizionz 01-28-2005 12:15 AM

okay i installed it and everything seams to have worked. but then when i eidt it in the ucer cp. and look it dont show up in the profile what edit controls that.

the only edit i was kinda confused about was the one that said 1/4 up the page

magyosha 01-28-2005 01:45 PM

some feedback fro mone of the users on my site

============
Could you list what tags and extensions are available (switched on that is) for webpage creation?

Layers work but the parameters don't convert right (not a problem really but they should lol).

Java script seems to be off?

Can we load .swf etc?

Also. If people are to put 'content' (images etc.) on their page, then they would really need a place to store content so that thier page can reference it etc. Otherwise if people don't already have webspace to store material then the webpage feature will just be text only.
============

i'm a bit loath to enable all tags , would this create a home for hackers .. ? or what tags are safe ...

any way of allowing java ?

and can some way of uploading pictures/files(swf) or someting be enabled ? they are corect that unless they link off site thye are limited ot text

Snow 01-28-2005 02:17 PM

Quote:

Originally Posted by magyosha
and can some way of uploading pictures/files(swf) or someting be enabled ? they are corect that unless they link off site thye are limited ot text

Good point about storing pictures. Maybe there's a way to use vBulletin's attachment feature, although images would not be inline then, but I suppose it's a quick fix. As for allowing html, it's probably best to try using custom vBcode first. (If you go to vbulletin.com there's a rather large list of custom vBcodes you could add, I believe there's one for swf as well). Enabling html is a bad idea.
Quote:

any way of allowing java ?
Java's a programming language, did you mean javascript?


All times are GMT. The time now is 01:26 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.02074 seconds
  • Memory Usage 1,860KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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