PDA

View Full Version : Webpage & Guestbook Script


Pages : 1 [2] 3 4 5

ogetbilo
11-24-2004, 01:11 PM
ogetbilo, you're better of waiting for the new version to come out. it is much easier to change things for you now.

a few more days. I gotta write new installation instructions.
Be sure I'll wait :)
clicked installed already

Swedie
11-24-2004, 11:06 PM
Be sure I'll wait :)
clicked installed already
getting real close now. And I must say I am impressed... over my own work! :)

I hope this will make more of you happy.

paulmjno
11-24-2004, 11:09 PM
getting real close now. And I must say I am impressed... over my own work! :)

I hope this will make more of you happy.
Oh, I'm looking forward to it. :) Although, I just installed the current version. I hope there are upgrade instructions.

paulmjno
11-24-2004, 11:37 PM
One thing I really think should be added is this: If a user has no webpage content, the webpage should not be displayed in their profile at all. Also, a user should be able to decide whether they want their page viewable to others or not (they may be drafting it out). And, a users webpage should be editable through admincp, and so should the users option to display the page or not. (The admin may decide that the page is unsuitable.)

Added: By the way, currently, the only way to have smilies in the guestbook is to disable the option...

There should be better management of certain HTML tags, like:

<ul>
<li>Item 1</li>
</ul>
...becomes...


<ul><br />
<li>Item 1</li><br />
</ul>

urmyantichrist
11-25-2004, 02:51 AM
Installed the new version and worked fine.
But when a user updates his webpage content the default colors are different from the board's style as you can see in the attached file.
How can we fix the default color same with the style ?

Having this problem too...

paulmjno
11-25-2004, 03:24 AM
Having this problem too...
I think this is going to be fixed with the new version.

Swedie
11-25-2004, 06:48 AM
Same problem with the guestbook also. Can we change their colors ?
As you can see in laptopscreen3.jpg user control panel menu's style is wrong.

And in laptopscreen4.jpg guestbook color are not similiar with the boards style. Where can we change the colors to match the boards style ?
This problem has been addressed in the new version.

Swedie
11-25-2004, 08:25 AM
One thing I really think should be added is this: If a user has no webpage content, the webpage should not be displayed in their profile at all. Also, a user should be able to decide whether they want their page viewable to others or not (they may be drafting it out). And, a users webpage should be editable through admincp, and so should the users option to display the page or not. (The admin may decide that the page is unsuitable.)

Added: By the way, currently, the only way to have smilies in the guestbook is to disable the option...

There should be better management of certain HTML tags, like:

<ul>
<li>Item 1</li>
</ul>
...becomes...


<ul><br />
<li>Item 1</li><br />
</ul>

No webpage content is shown unless something is written the the main text/content area.

New version is either vBcode OR HTML... this rids the problem with added line breaks.

Swedie
11-25-2004, 11:01 AM
Okay! everything is done except for creating the installation file. hmm

* Added ability to edit or remove his/her guestbook entry within the default vB's timeout setting
* Lots more Usergroup settings (that actually work :ninja: )
* Colors etc are changed from one configuration file (didn't add to vBulletin admin area because it was just too much for one settings page...)
* PM or Email Notification option, or none (Default option is set by Admin)
* HTML or vBcode when creating webpage content (not both)
* HTML is limited to Admin set HTML tags in the Administration area
* Language controlled through vB's Language system
* Option to display users Avatars (controllable FORCED sizing)
* Smilies option (On or Off)

* Usergroup settings added; Can have Webpage, Can have Guestbook, Can view Guestbook, Can view Webpage, Can post in Guestbook

Swedie
11-25-2004, 01:45 PM
SCRIPT IS COMPLETE! PLEASE TRY AND INSTALL IT! LET ME KNOW IF IT WORKS!!! IT SHOULD BUT YOU NEVER KNOW!

Okay, enough of the shouting. Just wanted you to take note on that the new version is out, with Upgrade instructions.

I hope this was worth my while.

paulmjno
11-25-2004, 02:12 PM
Upgrading now!

paulmjno
11-25-2004, 02:55 PM
It didn't work... the textarea wasn't displaying... and I couldn't have my board down for any longer, I had to remove it.

I am having trouble getting rid of the "Guestbook / Webpage" option in admincp. Also, all the webpage/guestbook phrases are still there... how do I get rid of those? I have already removed the guestbook and webpage tables from the database.

ChuanSE
11-25-2004, 03:11 PM
SCRIPT IS COMPLETE! PLEASE TRY AND INSTALL IT! LET ME KNOW IF IT WORKS!!! IT SHOULD BUT YOU NEVER KNOW!

Okay, enough of the shouting. Just wanted you to take note on that the new version is out, with Upgrade instructions.

I hope this was worth my while.

Checking it out :D

MojoNixon
11-25-2004, 03:56 PM
thanx..will just check it out. i guess my members will be very happy about your amazing work. :)

Swedie
11-25-2004, 03:59 PM
fukk! damn this to hell. :mad:

MojoNixon
11-25-2004, 04:18 PM
??? Whats going on mate?

Swedie
11-25-2004, 04:34 PM
??? Whats going on mate?
I was doing an extra check and found out it doesn't work so great installing using the upgrade! I am gonna try another time to install this on a clean forum installation.

MojoNixon
11-25-2004, 04:36 PM
hmm k .. but i can just install it to my 3.03? i made no previous install of your script.

Swedie
11-25-2004, 05:10 PM
Update! If You Were Unable To Ugprade To The New Version, The Upgrade Instructions And Files Has Been Updated! Please Download The New Version And Go Over It Again! This One Works! I Just Tried It!

Swedie
11-25-2004, 05:11 PM
hmm k .. but i can just install it to my 3.03? i made no previous install of your script.
wait just a sec! I am gonna try this before you do! I wanna be sure that you won't fail and we'll have a mess! I'll report back in 5 minutes!

MojoNixon
11-25-2004, 05:16 PM
i have no version installed. ;) but i will wait anyway. just want to know if there is a installer.

ChuanSE
11-25-2004, 05:34 PM
see my last post before this one. At that time i downloaded your upgrade and applied it on my forum. Seems to work fine except the html in webpage which isn't working :s

Swedie
11-25-2004, 05:36 PM
wait just a sec! I am gonna try this before you do! I wanna be sure that you won't fail and we'll have a mess! I'll report back in 5 minutes!
Okay I had to do some minor changes! Please download the latest .ZIP file for a clean installation!

EVERYTHING DOES WORK NOW! :)

MojoNixon
11-25-2004, 05:39 PM
What about Chuans HTML problem? I just want to install it right now ;-)

Scerina
11-25-2004, 05:52 PM
Okay! everything is done except for creating the installation file. hmm

* Added ability to edit or remove his/her guestbook entry within the default vB's timeout setting
* Lots more Usergroup settings (that actually work :ninja: )
* Colors etc are changed from one configuration file (didn't add to vBulletin admin area because it was just too much for one settings page...)
* PM or Email Notification option, or none (Default option is set by Admin)
* HTML or vBcode when creating webpage content (not both)
* HTML is limited to Admin set HTML tags in the Administration area
* Language controlled through vB's Language system
* Option to display users Avatars (controllable FORCED sizing)
* Smilies option (On or Off)

* Usergroup settings added; Can have Webpage, Can have Guestbook, Can view Guestbook, Can view Webpage, Can post in Guestbook
QUESTION: This looks like a huge installation and am no true techie as the previous hacks (Multiple Signatures & VbChat) I attempted to install had seriously screwed up my forums.

I am aware some of these hacks have no support and sometimes creators may not have time or want to install it for anyone else..espeacially novices such as me. But is it possible, if you would be ever so kind enough to install this really awesome hack for me Swedie or anyone else who has successfully install this hack on their forums? My forum is Version3.03 btw.

If you can help me out...I will be more than truly grateful.

If you can help me out, here is my contact info:
Email: Pandora@Sweet-November.Net
AIM: LisaScerina
MSN Messenger: Scerina@Hotmail.Com
YIM: lharris1813

Huge thanx in advance for any help and support that any of you can give me.

ChuanSE
11-25-2004, 06:27 PM
Okay I had to do some minor changes! Please download the latest .ZIP file for a clean installation!

EVERYTHING DOES WORK NOW! :)

Sure? :p

Shall i wait another half hour to see? ;)

MojoNixon
11-25-2004, 06:34 PM
@Chuan: HTML is not working on the webpages?

tteal
11-25-2004, 06:39 PM
I have this installed and verified that I did everything right, however, nothing is showing up under the users profile even though I know I entered stuff in there. I made the changes to the templates as instructed.

Anyone else having this issue?

HELP!!!!!!!!!

Swedie
11-25-2004, 06:51 PM
What about Chuans HTML problem? I just want to install it right now ;-)
Works fine for me. I don't know what could be the problem. I have done tests back and forth and there's nothing wrong for me.

Please REMEMBER to go to each Usergroup and click Save. and also go to the vBulletin Options page for Guestbook and Webpage and SAVE ... this has to be done in roder for all the settings to install completely.

Swedie
11-25-2004, 07:13 PM
If you are using Mozilla you might experience design issues. Here is the fix for that. In template MEMBERINFO find:
</td><td valign=top width="$wghtml[gbwidth]" nowrap>$webpage[gb_html]</td></tr>
replace with
</td><td valign=top width="$wghtml[gbwidth]">$webpage[gb_html]</td></tr>

Simply "nowrap" is removed. It was left there by mistake.

ChuanSE
11-25-2004, 07:23 PM
I did go over all usergroups allright, but i will try your latest update before i start +++++in' around j/k ;)

MojoNixon
11-25-2004, 07:39 PM
*read info file*

any chance of an installer??? i don´t mean the whole show, just some details would be nice if they could be automated.

Snow
11-25-2004, 07:51 PM
Works fine for me. I don't know what could be the problem. I have done tests back and forth and there's nothing wrong for me.

Please REMEMBER to go to each Usergroup and click Save. and also go to the vBulletin Options page for Guestbook and Webpage and SAVE ... this has to be done in roder for all the settings to install completely.
the html isn't working for me either...... and in the settings, under "Webpage - vBcode or HTML?" the drop down menu doesn't have any options. Other than that, this new version appears to be working fine and I don't seem to have the permissions prob I had with the previous version. Thanks Swedie! Great hack! :cheeky:

tteal
11-25-2004, 08:06 PM
I've gone through all of the usergroups and also the webpage/guestbook under vbulletin options and still I get nothing under the user profile although I've entered stuff. Errrrr.......

Swedie
11-25-2004, 08:30 PM
the html isn't working for me either...... and in the settings, under "Webpage - vBcode or HTML?" the drop down menu doesn't have any options. Other than that, this new version appears to be working fine and I don't seem to have the permissions prob I had with the previous version. Thanks Swedie! Great hack! :cheeky:
Run this SQL command to fix that problem:
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'wg_html', 'HTML', 1);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'wg_vbcode', 'vBcode', 1);

Swedie
11-25-2004, 08:31 PM
I've gone through all of the usergroups and also the webpage/guestbook under vbulletin options and still I get nothing under the user profile although I've entered stuff. Errrrr.......
Did you install fresh or upgrade?

Swedie
11-25-2004, 08:44 PM
Hey everyone.. to rid the "problem" with people sending blank messages...

open member.php and ...
replace
//Insert
$sql = mysql_query("SELECT * FROM user_guestbook WHERE userid = ".GBUSERID."");
while($row = mysql_fetch_assoc($sql)) {

with:
//Insert
$sql = mysql_query("SELECT * FROM user_guestbook WHERE userid = ".GBUSERID."");
while($row = mysql_fetch_assoc($sql) and !empty($message)) {

ChuanSE
11-25-2004, 09:32 PM
I did go over all usergroups allright, but i will try your latest update before i start +++++in' around j/k ;)

what are the exact changes compared with the previous (errornous) release ?

tteal
11-25-2004, 09:35 PM
Did you install fresh or upgrade?

Fresh. Just to give you a little more info, in the USERCP, I get the two links regards the webpage and the guestbook but they never show up under the profile.

tteal
11-25-2004, 09:46 PM
Did you install fresh or upgrade?

Fresh. Just to give you a little more info, in the USERCP, I get the two links regards the webpage and the guestbook but they never show up under the profile.

Swedie
11-25-2004, 09:53 PM
Fresh. Just to give you a little more info, in the USERCP, I get the two links regards the webpage and the guestbook but they never show up under the profile.
i have done the installation twice on a newly installed vB3.0.3 and it works right away for me.

You mean the USERCP_SHELL, right?

tteal
11-25-2004, 10:04 PM
i have done the installation twice on a newly installed vB3.0.3 and it works right away for me.

You mean the USERCP_SHELL, right?

Swedie,
No I mean the "MEMBERINFO". Here is what is happening for me on my vb3.03.

I see the following items under USERCP:
Webpage content
Guestbook settings

If I click on webpage content, everything goes fine (or appears to), however, when viewing my own profile page: http://domain.com/forum/member.php?userid=X none of the guestbook / webpage information shows up.

I ensured that I put the information you had int he MEMBERINFO template.

What am I missing?

tteal
11-25-2004, 10:12 PM
Just to give you a little more information, I just checked to ensure that entries are being entered into the SQL Database (user_guestbook & user_webpage) and they are inserting just fine so there is an issue displaying in the MEMBERINFO I think?

I'm trying to help you as best as I can but my knowledge of php is very limited.

Lionel
11-25-2004, 10:23 PM
Just to give you a little more information, I just checked to ensure that entries are being entered into the SQL Database (user_guestbook & user_webpage) and they are inserting just fine so there is an issue displaying in the MEMBERINFO I think?

I'm trying to help you as best as I can but my knowledge of php is very limited.

have you installed the templates?

tteal
11-25-2004, 10:28 PM
have you installed the templates?

Yes I do. Attached is a copy/paste directly from MEMBERINFO & USERCP_SHELL templates. Please feel free to see if you can find something that I did wrong, ok?

tteal
11-25-2004, 10:46 PM
Anyone have a chance to view the files I attached?

urmyantichrist
11-26-2004, 12:11 AM
Having some issues... Can't find an 'update' button to click In Gb/Webpage Prefrences..

Also, saved the phrase, but no phrases are showing up in the User CP or anything..

Any help?

tteal
11-26-2004, 12:29 AM
Anyone have a chance to view the files I attached?

is it safe to say no one can find issues with the files that I attached? I was getting quck responses but now all the sudden the help has dwindled down to ................ uhhh..... ??????

idslamyou
11-26-2004, 05:05 AM
Upgraded fine. I do have a couple of issues/requests.

Is there any way to specify the default values( i.e. bg color, font color, size, border color and size) when a user is creating there webpage. I looked in the webgbset.php but didn't see any references. (Image attached)

There is one part that I cannot change the colors for on the page. Image attached(screens.jpg)

Is there a way to have the default look of their page with the guestbook on the bottom?

Is there a way for users to post html in the guestbook? I would love to see at least the img tag supported.

You can check out the page at http://www.idslamyou.com/forums/member.php?userid=1

I will definatly be paypalin' some money by this weekend. Thanks Swedie.

ChuanSE
11-26-2004, 05:20 AM
tteal, is ur usergroup allowed to view/have webpage/guestbook?

Swedie
11-26-2004, 07:42 AM
Upgraded fine. I do have a couple of issues/requests.

Is there any way to specify the default values( i.e. bg color, font color, size, border color and size) when a user is creating there webpage. I looked in the webgbset.php but didn't see any references. (Image attached)

Is there a way to have the default look of their page with the guestbook on the bottom?

Is there a way for users to post html in the guestbook? I would love to see at least the img tag supported.

You can check out the page at http://www.idslamyou.com/forums/member.php?userid=1

I will definatly be paypalin' some money by this weekend. Thanks Swedie.
I need to be a member to view your page. But I know what you are talking about. Replace the code in member.php with this new code I have attached.

There will not be HTML in the guestbook. I see horrible things in my head that users could do. :ninja:

I will create new lines for default values upon creating new guestbooks. I will have an update for you later on today. I will also add so that you can decide from the admin page which to be the default position for the guestbook.

good suggestions that I will start working on right away. thanks

Snow
11-26-2004, 09:00 AM
Run this SQL command to fix that problem:
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'wg_html', 'HTML', 1);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'wg_vbcode', 'vBcode', 1);
Thank you that's fixed the drop down menu. html still doesn't work on the webpage though, but I wasn't going to allow html anyway.

Is there a way to integrate the forum's editor (e.g. the WYSIWYG editor) with the edit webpage?

Swedie
11-26-2004, 10:26 AM
Thank you that's fixed the drop down menu. html still doesn't work on the webpage though, but I wasn't going to allow html anyway.

Is there a way to integrate the forum's editor (e.g. the WYSIWYG editor) with the edit webpage?
it's there... what version did you download?

Snow
11-26-2004, 10:40 AM
it's there... what version did you download?
Version? I downloaded the zip last night a little over 12 hours ago, it says version 1.0.

I've attached a screenshot of the "editor" I've got with WYSIWYG editor enabled in the options.

Swedie
11-26-2004, 11:32 AM
Version? I downloaded the zip last night a little over 12 hours ago, it says version 1.0.

I've attached a screenshot of the "editor" I've got with WYSIWYG editor enabled in the options.
Click on the rather BIG "Switch to vBcode version"-button. Thank you. :ninja:

tteal
11-26-2004, 12:06 PM
tteal, is ur usergroup allowed to view/have webpage/guestbook?

Yes that's correct. As I mentioned, I see the two links on USERCP that say:

- Webpage content
- Guestbook Settings

If I click on webpage content or guestbook settings both work just great, however, it's when you view a users' profile that is the problem and don't work although as mentioned as well, they are updating in the SQL database. Very strange indeed.

I've looked thruogh all of the templates a hundred times and still no luck.

Thanks for helping though folks I very much appreciated. Any more suggestions?

Cheers,
Tim

Snow
11-26-2004, 12:09 PM
Click on the rather BIG "Switch to vBcode version"-button. Thank you. :ninja:
Thanks I sorted it. The BIG button wasn't working but I found the problem. The following was missing from the original upgrade.sql file that I used.
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 40, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 50, 0, 1);

I've gone through all the queries one by one again, and it doesn't look like I've missed any others, but....... for people to view the guestbook and webpage, I have to give them permission to have a guestbook/webpage. i.e. the view guestbook/webpage settings don't appear to be working for me. What have I overlooked? :ermm:

sabret00the
11-26-2004, 12:31 PM
this looks great, i'm very interested in this hack, however i'd like to see the cleaned up templates by fleabag and also is there an option to turn off posting in your own guest book? another thing is is their a per-usergroup setting?

Swedie
11-26-2004, 12:43 PM
Thanks I sorted it. The BIG button wasn't working but I found the problem. The following was missing from the original upgrade.sql file that I used.
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 40, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 50, 0, 1);

I've gone through all the queries one by one again, and it doesn't look like I've missed any others, but....... for people to view the guestbook and webpage, I have to give them permission to have a guestbook/webpage. i.e. the view guestbook/webpage settings don't appear to be working for me. What have I overlooked? :ermm:
good thing you figured that out. you must've come inbetween an update i did..

Swedie
11-26-2004, 01:30 PM
this looks great, i'm very interested in this hack, however i'd like to see the cleaned up templates by fleabag and also is there an option to turn off posting in your own guest book? another thing is is their a per-usergroup setting?
Download the ZIP and have a look at it yourself.

Check my first post for info about usergroup settings.

tteal
11-26-2004, 01:50 PM
Folks,
I would just like to say that Swedie has gone above and beyond to help me out on my error(s). It happened to be user error (I messed up the member.php) page and Swedie did some troubleshooting and fixed it all up for me ------- Thank you Swedie!

I appreciate your efforts and encourage everyone that can DONATE please DO to allow folks like Swedie to continue development such as this!

Very Respectuflly,
Tim

urmyantichrist
11-26-2004, 04:21 PM
Okay, in the admincp, my webpage/guestbook prefrences hasn't changed at all... What did I miss? I'm reallllllllly confused!

urmyantichrist
11-26-2004, 04:23 PM
Also, the webgbset.php is only coming up as a blank page for me... What am I doing wrong?

Nordinho
11-26-2004, 05:03 PM
Okay, in the admincp, my webpage/guestbook prefrences hasn't changed at all... What did I miss? I'm reallllllllly confused!

Did you do the guestbook settings in the admincp file?? and uploaded it??

Swedie, thanks for this awesome hack...just upgraded and I love it...thanks again!!

Greets Nordinho,

MojoNixon
11-26-2004, 05:35 PM
hmm .. i guess it will be better for me and my heart to wait some more days. ;-)

shortbus1662
11-26-2004, 05:38 PM
can someone give me a working url to this on an english language site? Thanks.

shawno
11-26-2004, 05:50 PM
Agree with you 100% tteal!

Swedie has done a great job......this hack is AWESOME and just what I was looking for! My donation is now on its way to Paypal! For so much functionality you certainly deserve some extra 'pocket money'!

Later

Shawno

MojoNixon
11-26-2004, 05:54 PM
Is all running fine now? If yes i will go and install it tomorrow. And after that i will donate to you.

ChuanSE
11-26-2004, 07:04 PM
Well Swedie, i checked some things. you had an update posted which you corrected later on, so i downloaded 3 versions allready.

Not to much probs with the first one, second and thirth are giving me a hard time allowing html, all other functions seem ok.

you can see the effect here ( http://community.ddance.fm/member.php?u=1 )

So, or i need an uninstaller and have to go over it again OR you could check out what the prob could be.

Plz be sure things work before releasing something again :s

Swedie
11-26-2004, 07:26 PM
Well Swedie, i checked some things. you had an update posted which you corrected later on, so i downloaded 3 versions allready.

Not to much probs with the first one, second and thirth are giving me a hard time allowing html, all other functions seem ok.

you can see the effect here ( http://community.ddance.fm/member.php?u=1 )

So, or i need an uninstaller and have to go over it again OR you could check out what the prob could be.

Plz be sure things work before releasing something again :s
ChaunSE, add me to any of the following:
AOL: R1Swedie
Yahoo: johnny_nosepicker

I will assist you by you giving me admin rights and maybe FTP rights.. don't really need that as you can upload the files I change for you.

contact me, this is for all here. Just chat to me online and I'll fix yuor sites so they work. I will charge... nothing. You might encounter faul language and such, but you're gonna have to live with that. :p just kidding. I am a decent man. I never curse.

Swedie
11-26-2004, 07:30 PM
Okay, in the admincp, my webpage/guestbook prefrences hasn't changed at all... What did I miss? I'm reallllllllly confused!

Did you click "Save"... did it say that everything updated correctly? Then it works. There is a problem somewhere else.

Also, the webgbset.php is only coming up as a blank page for me... What am I doing wrong?

This is not a page you access through the web. you open it up with your preferred file editor. There are lines in there to change. then you upload the file to the server again with the changes you did.

If you do not understand, use above Instant messengers to contact me and I shall assist you the best I can.

Swedie
11-26-2004, 07:33 PM
ChuanSE, another thing. The reason the page did not show for "tteal" was that he placed the code in member.php in the wrong place. Take a look at the member.php file to ensure that you didn't paste all my code inside another so called "action", then it will most likely not show up at all.

And he had also not enabled "can have webpage" and "can have guestbook" in all the usergroups! REMEMBER, this script comes with ALL values for Usergroups set as NO! Meaning that you will NOT see any webpages on your users profile pages unless you enable them in the Usergroup manager!

Snow
11-26-2004, 07:35 PM
I've gone through all the queries one by one again, and it doesn't look like I've missed any others, but....... for people to view the guestbook and webpage, I have to give them permission to have a guestbook/webpage. i.e. the view guestbook/webpage settings don't appear to be working for me. What have I overlooked? good thing you figured that out. you must've come inbetween an update i did..
I still have the problem that no one can actually see the webpage/guestbook unless they have the permission to have a webpage/guestbook. I've attached a screenshot of the settings for the unregistered usergroup which I believe mean that guests should be able to see my webpage and guestbook in my profile (http://www.aboho.com/forum/member.php?u=2&styleid=4), but unless I'm going blind, the webpage and guestbook aren't visible. I've re-installed at least 3 times today and it still doesn't work.

Snow
11-26-2004, 07:39 PM
And he had also not enabled "can have webpage" and "can have guestbook" in all the usergroups! REMEMBER, this script comes with ALL values for Usergroups set as NO! Meaning that you will NOT see any webpages on your users profile pages unless you enable them in the Usergroup manager!
So you're saying that for guests (and junior members in my case) I have to give them permission to set up a webpage and guestbook so that they can view other people's webpage's and guestbooks?

ChuanSE
11-26-2004, 07:41 PM
Ah Swedie, i'll contact ya mate ;)

and i have done all those things. I'm installing my 50th hack i guess :p (not all on last board :p). Getting the hang of it, i'm sure i could find the error if i searched for a week. But it's your baby, you will know why she's i'll in one sec :p

Swedie
11-26-2004, 07:42 PM
So you're saying that for guests (and junior members in my case) I have to give them permission to set up a webpage and guestbook so that they can view other people's webpage's and guestbooks?
Good one! Let me have a look at this. I just now understand what you actually ment.

Swedie
11-26-2004, 08:40 PM
If you do not have "Allow HTML" or "Allow vBcode" options on the Guestbook & Webpage Preferences page.. then run this query:
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowvbcode', 'guestbookwebpage', '1', '1', 'yesno', 50, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageallowhtml', 'guestbookwebpage', '1', '0', 'yesno', 51, 0, 1);

then go into your settings and Save everything!

shortbus1662
11-26-2004, 08:56 PM
does anyone have this up on an english site? A link would be great!

thanks

Swedie
11-26-2004, 09:04 PM
Everyone! Download this new template file for MEMBERINFO. I reduced the size of it and maybe fixed a bug that some of you may encounter.

There is a new version coming out soon taht will have a fix for the problem where the first post is counted twice ...

Swedie
11-26-2004, 09:12 PM
does anyone have this up on an english site? A link would be great!

thanks
not my site, but i just made this script work on this site:
http://community.ddance.fm/member.php?u=52 (my profile though)

Swedie
11-26-2004, 11:01 PM
I just uploaded the new ZIP file. It holds a new script for member.php. Usergroup issues are fixed! Halleluja!

Also update the MEMBERINFO template with the new template info in template_memberinfo.txt.

Sorry for me being such a retard saying everything is GOOD.. when it's not. But this time... hehe.. I think it's good =)

Swedie
11-26-2004, 11:06 PM
I included a feature to FIX the problem with counters saying 2 when there's only one guestbook entry. Place: fixcount(); on its own row just before my script in member.php and it will clean up the mess. Then after this Remove this line... it's dumb to leave it in it. Could slow down queries when you're starting to get thousand and thousands of guestbook entries.

urmyantichrist
11-27-2004, 12:06 AM
Found my problem... Skipped the first part and forgot to upload upgrade.sql! D'oh!!

Thanks!!

paulmjno
11-27-2004, 03:46 AM
Could you please create an uninstall script? To take away all the info it inserted into the database? I'd like to do a fresh re-install.

Snow
11-27-2004, 07:48 AM
I just uploaded the new ZIP file. It holds a new script for member.php. Usergroup issues are fixed! Halleluja!

Also update the MEMBERINFO template with the new template info in template_memberinfo.txt.

Sorry for me being such a retard saying everything is GOOD.. when it's not. But this time... hehe.. I think it's good =)
It looks like it's working now. :classic: thank you.

Swedie
11-27-2004, 10:21 AM
Could you please create an uninstall script? To take away all the info it inserted into the database? I'd like to do a fresh re-install.
Maybe later, for now you'll have to simply go backwards in the installation script.

Database entries might be a little harder to undo though if you have no experience in modifying databases. But I don't see a reason to edit input in the database if you're gonna remove all and install fresh. Unless you seriously messed up the database and don't know what you inserted.

Contact me over any of my listed Instant Messenger programs and I'll assist you on the installation.

Swedie
11-27-2004, 12:06 PM
An update!!!
I simplified and improve the modify_webpage template and profile.php scripts.

Download and update your file and template with below two files.

Changes
* HTML or vBcode Switch button won't show if one of them is disabled through admin (mostly just to confuse your users less.. otherwise they might be clicking the button and don't understand why it is not switching!)
* Moved it to a better position. Could be be mistaken as the Submit button and hence all currently changed info is lost due to it! a sad "oops".

Scerina
11-27-2004, 12:17 PM
Swedie: Thank you so much for taking the time out to install this hack on my forums...you are pure genius...God bless your precious soul!!!! You ROCK!!!!! I will be forever grateful to you and both my members & I truly appreaciate all you have done.

MojoNixon
11-27-2004, 02:02 PM
mate please tell us which files we need ...its really confusing now ...

Swedie
11-27-2004, 02:50 PM
mate please tell us which files we need ...its really confusing now ...
depends on what you want to do. If you want to play Half-life 2 you double-click the hl2.exe file and the game will start. You want me to specify but why not you specify what you are trying to do?

Swedie
11-27-2004, 02:51 PM
To everyone! If you do not have this script installed yet. download like normal, the .ZIP file.

If you plan on upgrading from the very first release... download the .ZIP file and read the upgrade instructions file.

MojoNixon
11-27-2004, 03:36 PM
i want to run that script. YOUR script. I haven´t installed it yet..so i just need to download that zipfile or i need the attachements too?

Swedie
11-27-2004, 04:48 PM
i want to run that script. YOUR script. I haven?t installed it yet..so i just need to download that zipfile or i need the attachements too?
I am an ass but I just said what to do:
To everyone! If you do not have this script installed yet. download like normal, the .ZIP file.

If you plan on upgrading from the very first release... download the .ZIP file and read the upgrade instructions file.

steadicamop
11-27-2004, 05:39 PM
I've got it installed, a wonderful peice of kit, although I have an error on the page :

Line: 967
Char: 52
Error: Syntax error
Code: 0
URL: http://localhost/profile.php?do=editwebpage

Now I've looked at that line, here it is:

<td class="smallfont" colspan="5">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, , ''); return false" title="Showing 25 smilies of 65 total.">More</a>]</td>

After trying to click on the "More" link, nothing happens. Any ideas?

TIA

JW

Swedie
11-27-2004, 06:51 PM
I've got it installed, a wonderful peice of kit, although I have an error on the page :



Now I've looked at that line, here it is:

<td class="smallfont" colspan="5">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, , ''); return false" title="Showing 25 smilies of 65 total.">More</a>]</td>

After trying to click on the "More" link, nothing happens. Any ideas?

TIA

JW

In profile.php locate:
$show['moresmilieslink'] = iif ($totalsmilies > $vboptions['smtotal'], true, false);
ADD THIS BEFORE
$wysiwyg = 0;

There are two instances of this in profile.php. One somewhere around line 271 and the other one around 385.

New .ZIP file includes this fix already.

MojoNixon
11-27-2004, 06:58 PM
i´m installing right away... i give you a feedback here when its finished and hopefully working...

MojoNixon
11-27-2004, 08:36 PM
Ok ..i have just finished with install and i followed very carefully all instructions ...

ALL is fine...HTML is working... and there are no problems at the moment. :)

steadicamop
11-27-2004, 09:45 PM
In profile.php locate:
$show['moresmilieslink'] = iif ($totalsmilies > $vboptions['smtotal'], true, false);
ADD THIS BEFORE
$wysiwyg = 0;

There are two instances of this in profile.php. One somewhere around line 271 and the other one around 385.

New .ZIP file includes this fix already.

Thank you so much, I've had to uninstall it as something went belly up, will reinstall it and add the extra bits.

Thanks,

Jason

MojoNixon
11-27-2004, 11:41 PM
One thing to mention here:

the smilies in the guestbooks are not working..but they are enabled. how can i fix it?

Swedie
11-27-2004, 11:49 PM
One thing to mention here:

the smilies in the guestbooks are not working..but they are enabled. how can i fix it?
Have you enabled it both in your Personal profile settings and in the vBulletin Administration area for the Webpage and Guestbook script?

MojoNixon
11-28-2004, 12:53 AM
Yes..both settings are enabled...hm will have to check it out...

CSS59
11-28-2004, 03:29 AM
anyone who did this want to post a link so I can check it out?

steadicamop
11-28-2004, 07:29 AM
I've installed it again, with the extra wysiwyg code in, but this time when the page loads it's fine, except when you click on "More", then another error appears:

Line: 967
Char: 1
Error: 'smiliewindow_x' is undefined
Code: 0
URL: http://localhost/profile.php?do=editwebpage

Here is the code from that line

<td class="smallfont" colspan="5">[<a href="#" onclick="open_smilie_window(smiliewindow_x, smiliewindow_y, 0, ''); return false" title="Showing 25 smilies of 65 total.">More</a>]</td>

It works better now so will leave it with this slight issue, will keep checking back for any solutions.

Thanks

<edit>
Damn I get another error, this time when my mouse moves over the Guided or Enhanced mode options just above the text box.

Here's the error:

Line: 97
Char: 2
Error: 'istyles' is undefined
Code: 0
URL: http://localhost/profile.php?do=editwebpage

Here's that line of code:

.thead a:hover, .thead a:active
{
color: #FF4400;
It's actually the "{" in the centre that the line refers to.

Sorry for the hassle!!</edit>

ogetbilo
11-28-2004, 02:38 PM
Swedie I was tryng to update with the new version you upload last week and update.sql didnt work. It gave a problem that sometable already exists and now everything in the database about guestbook is messed up :)
I will try to fix that and re install everything. Hope this time it will work...

influence
11-28-2004, 03:18 PM
is this great hack working now because I am seeing new update and fixes every hour or so and i dont want to keep updating files or having to check this thread every seconds for new fixes

influence
11-28-2004, 03:20 PM
not sure i completely understand what you mean. Try again.


Ok let me try to explain this one more time. Is there anyway we can include the default vbulletin profile info into your hack? like build a left table panel with the user default info instead of them being below like that.

u know what let me find an example for u.

ok here we go. like this

http://members.migente.com/john1880/

Swedie
11-28-2004, 04:05 PM
Ok let me try to explain this one more time. Is there anyway we can include the default vbulletin profile info into your hack? like build a left table panel with the user default info instead of them being below like that.

u know what let me find an example for u.

ok here we go. like this

http://members.migente.com/john1880/
no, i only supply a webpage and a guestbook. i won't touch anything else.

influence
11-28-2004, 04:33 PM
i just notice that. your hack was just a include feature inside the default vbulletin profile

Swedie
11-28-2004, 05:06 PM
Yes..both settings are enabled...hm will have to check it out...
Please go into member.php and somewhere around line 1087 you will find:
$text = parse_bbcode($split['4'], $settingsmilies, 1);
Replace with:
$text = parse_bbcode2($split['4'], 0, 0, $settingsmilies, 0);

That will fix your problem.

Swedie
11-28-2004, 05:09 PM
Swedie I was tryng to update with the new version you upload last week and update.sql didnt work. It gave a problem that sometable already exists and now everything in the database about guestbook is messed up :)
I will try to fix that and re install everything. Hope this time it will work...
Can you please tell me WHAT it said "duplicate entry" on so that I can check? I successfully upgraded from the old version to the new version. There has been no database changes since it went somewhat "final".

Contact me over any instant messanger:
AOL: R1Swedie
Yahoo: johnny_nosepicker

i'll try and assist you the best I can (let me in on vBulletin admni and databases and I'll fix it for you).

ogetbilo
11-28-2004, 06:18 PM
Can you please tell me WHAT it said "duplicate entry" on so that I can check? I successfully upgraded from the old version to the new version. There has been no database changes since it went somewhat "final".

Contact me over any instant messanger:
AOL: R1Swedie
Yahoo: johnny_nosepicker

i'll try and assist you the best I can (let me in on vBulletin admni and databases and I'll fix it for you).
I think I cleaned up the database cause I could get the new insert.sql working. I will finish the installation tomorrow. If I cannot get it working I will ask your help bro. Thanks anyway :)

influence
11-28-2004, 09:15 PM
when u go to someone's profile, it says they have a total of 2 posts. says the same for me when in fact i have over 2 thousand posts.

thats weird

MojoNixon
11-28-2004, 09:29 PM
@influence:

don´t have this problem ...but i got still problems with the smileys in the guestbooks ...

Swedie
11-28-2004, 10:35 PM
when u go to someone's profile, it says they have a total of 2 posts. says the same for me when in fact i have over 2 thousand posts.

thats weird
guestbook posts?

Swedie
11-28-2004, 10:36 PM
@influence:

don?t have this problem ...but i got still problems with the smileys in the guestbooks ...
I posted a fix... download the new ZIP file and update your member.php file with the content of file_memberphp.txt.

MojoNixon
11-29-2004, 04:46 AM
Thanx...now its working like a dream...not other problems at the moment yet....

ChuanSE
11-29-2004, 04:55 AM
not my site, but i just made this script work on this site:
http://community.ddance.fm/member.php?u=52 (my profile though)

Yep, great work on that one Swedie :D

* ChuanSE paypal'd a bit ;)

ogetbilo
11-29-2004, 09:33 AM
Swedie I double check everything and tried to install this mod but right now I have a problem with the AdminCp. I cannot find the Webpage and Guestbook preferences menu in vbulletin options. I doubled check each phrase that you habe in insert.sql . They are all working. I can get the usergroups permisson to set which user groups can use guestbook and webpage and also the other 3 option.

I checked that if settinggroup_guestbookwebpage this phrase is working or not and when I search this I can find even the translation. But interesting part is I cannot find this phrase in installation or upgrade script. Right now I cannot modify the settings.

sabret00the
11-29-2004, 09:44 AM
Download the ZIP and have a look at it yourself.

Check my first post for info about usergroup settings.
thanks, what about security risks? are there any?

Swedie
11-29-2004, 01:41 PM
thanks, what about security risks? are there any?
if a user uses HTML and is a moddapukkin good freak on HTML, then surely it can be a security risk somewhere...

Swedie
11-29-2004, 01:50 PM
Swedie I double check everything and tried to install this mod but right now I have a problem with the AdminCp. I cannot find the Webpage and Guestbook preferences menu in vbulletin options. I doubled check each phrase that you habe in insert.sql . They are all working. I can get the usergroups permisson to set which user groups can use guestbook and webpage and also the other 3 option.

I checked that if settinggroup_guestbookwebpage this phrase is working or not and when I search this I can find even the translation. But interesting part is I cannot find this phrase in installation or upgrade script. Right now I cannot modify the settings.
settinggroup_guestbookwebpage exists in insert.sql
ssettinggroup_guestbookwebpage does not exist in upgrade.sql

Now to your problem. search for "Guestbook / Webpage Preferences" in Language & Phrase manager. Did it find something? if not so... click it, then save it. If it did not find anything. I suggest going manually and adding this text. Do this by choosing the Phrase Manager again, then under Phrase Type, pick "vBulletin Settings". Click on "Add New Phrase". Type in settinggroup_guestbookwebpage under Varname and then "Guestbook / Webpage Preferences" under text. Click Save.

Done. it should pop up. Or maybe it will stop and say there's a duplicate entry for settinggroup_guestbookwebpage. It probably will. Then it means that you do not have the settinggroup entry in the database. If so, run this SQL query:
INSERT INTO `settinggroup` (grouptitle, displayorder, volatile) VALUES ('guestbookwebpage', 199, 1);

Try this and let me know.

ogetbilo
11-29-2004, 02:16 PM
It worked fine after I run the query.
Thanks dude.

Swedie
11-29-2004, 03:27 PM
Something totally Off Topic, anyone here know Flash well enough to be able to create a logo for me? I need one that has the number 81 in it and when the user moves his mouse cursor over it it should spin.

ChristianA
11-29-2004, 06:32 PM
I get these strange date formats:

Last update: %29-%11-%2004 %21:%Nov

I have swedish date format stated. Any idea?

Swedie
11-29-2004, 07:32 PM
I get these strange date formats:

Last update: %29-%11-%2004 %21:%Nov

I have swedish date format stated. Any idea?
Det funkar f?r alla andra s? det betyder att det ?r n?tt fel f?r dig lokalt... i dina inst?llningar i vBulletin. S? kolla efter % tecken i vBulletin's datumformatsinst?llningar. D?r ska inte finnas n?gra s?na iaf.

ChristianA
11-30-2004, 03:36 AM
Hittade inga % tecken där. Som du ser på exemplet så står det d-m-Y som datumformat och jag har anget Y-m-d som datumformat.

influence
11-30-2004, 09:45 PM
guestbook posts?

no not that one. total forum posts

I just copied and pasted it.

Join Date: 03-28-2002
Posts
Total Posts: 2 (2.78 posts per day)
Find all posts by admin
Find all threads started by admin


it says that for every member. why is that?

ChristianA
12-01-2004, 04:07 AM
no not that one. total forum posts

I just copied and pasted it.

Join Date: 03-28-2002
Posts
Total Posts: 2 (2.78 posts per day)
Find all posts by admin
Find all threads started by admin


it says that for every member. why is that?
The % signs came from my Swedish translation. If you have an translation of the forum the language settings have date override parameters.

lakers6473
12-01-2004, 01:57 PM
i just installed the hack and i pretty sure i did everything in the instructions... i check my USERCP and i can't find the webpage content or the guestbook settings anywhere on the left column.

Did i miss something or do something wrong... i checked my settings in admin and both the usergroup and the general premissions are enabled.

ogetbilo
12-01-2004, 05:31 PM
i just installed the hack and i pretty sure i did everything in the instructions... i check my USERCP and i can't find the webpage content or the guestbook settings anywhere on the left column.

Did i miss something or do something wrong... i checked my settings in admin and both the usergroup and the general premissions are enabled.
After you check usergroups you have to save then one by one

lakers6473
12-01-2004, 10:52 PM
After you check usergroups you have to save then one by one

I did save them.. but still is not showing up in the left column.

urmyantichrist
12-01-2004, 11:08 PM
Have you enabled it both in your Personal profile settings and in the vBulletin Administration area for the Webpage and Guestbook script?

Okay, I'm having the problem with smilies not working in guestbooks either... They're checked as enabled in both AdminCP and UserCP, but still not working...

lakers6473
12-02-2004, 02:13 AM
I would love for this hack to work but i'm not sure exactly what the problem is. I just can see the webpage content and the guestbook setting in my usercp.

everything from the usergroup to the general permission looks good.. am i missing a set somewhere?

ChuanSE
12-02-2004, 05:24 AM
I would love for this hack to work but i'm not sure exactly what the problem is. I just can see the webpage content and the guestbook setting in my usercp.

everything from the usergroup to the general permission looks good.. am i missing a set somewhere?

You can't or can see those on the left in USERCP?

lakers6473
12-02-2004, 09:40 AM
Sorry.. I meant. .i CAN'T see the links on the column.

ogetbilo
12-02-2004, 12:38 PM
Did you save the phrases ?
And are you sure you edited usercp_shell template ?
And if you have more then 1 style in your board check all the styles. Everything is working good with me. You have to miss something.

Nordinho
12-02-2004, 01:17 PM
In profile.php locate:
$show['moresmilieslink'] = iif ($totalsmilies > $vboptions['smtotal'], true, false);
ADD THIS BEFORE
$wysiwyg = 0;

There are two instances of this in profile.php. One somewhere around line 271 and the other one around 385.

New .ZIP file includes this fix already.

Hmmm...doesn't work for me...getting a 'istyles' not defined error...any idea's??

cdoyle
12-02-2004, 10:55 PM
Does anyone have a site with this hack working? I want to put something like this on my board, it sounds really cool.

have a couple questions.
I want this to be a feature for our 'platinum' (paying members) So if I were to install this hack for the Platinum usergroup, and a platinum member creates a page. When the users membership expires and if he doesn't re-subscribe to our forum. Does the webpage and guestbook get turned off and becomes un-accessible? Does the pages get deleted, or just turned off?

This does sound like a really cool hack, once every one gets the bugs worked out I'll install it myself.

and I'll donate too!!

Chris.

CSS59
12-03-2004, 03:10 AM
Yea I wanna know if all the problems are fixed. I need this :D

KTBleeding
12-03-2004, 04:59 AM
Does anyone have a site with this hack working? I want to put something like this on my board, it sounds really cool.
I have it running on my "upcoming" site.. you can check it out though..
http://www.keepthembleeding.net/forums/member.php?u=1

I don't have a use for the webpage mod, so I don't have that up, just the guestbook.
Works/looks good, IMO. The guestbook HTML could use a little cleaning up/vb3 look, but it looks fine the way it is.


Swedie, I found a bug.. I'm not sure if anyone has reported it. If I edit a guestbook message, it doesn't update.. still stays the same. Just thought I'd report that.

ChuanSE
12-03-2004, 06:18 AM
Does anyone have a site with this hack working? I want to put something like this on my board, it sounds really cool.

have a couple questions.
I want this to be a feature for our 'platinum' (paying members) So if I were to install this hack for the Platinum usergroup, and a platinum member creates a page. When the users membership expires and if he doesn't re-subscribe to our forum. Does the webpage and guestbook get turned off and becomes un-accessible? Does the pages get deleted, or just turned off?

This does sound like a really cool hack, once every one gets the bugs worked out I'll install it myself.

and I'll donate too!!

Chris.

yep, here too mate http://community.ddance.fm/member.php?u=1
(has a flash banner embedded)
http://community.ddance.fm/member.php?u=15
has text,pic,banner and the guestbook on it :)

Swedie
12-03-2004, 09:39 AM
Fix for 'istyles'

Download the two files attached to this post. Update profile.php with new code in file_profilephp.txt. Then replace template content in modify_webpage with template_modify_webpage.txt

Done.

Lostnode
12-03-2004, 11:34 AM
/me Installs

Nordinho
12-03-2004, 12:13 PM
Fix for 'istyles'

Download the two files attached to this post. Update profile.php with new code in file_profilephp.txt. Then replace template content in modify_webpage with template_modify_webpage.txt

Done.

Hey Swedie...thanks for the update...this fixes the 'istyles' thingie, but the more link on the smilie box still isn't working...it gives this error: smiliewindow_x not definded...

and the 'modify webpage' layout is broken now, I'm using 760px...(see attached screenshot)

Greets,

sjaakie
12-03-2004, 07:50 PM
The upgrade thing is f*cking up my forum, now my member.php page is not working, even after changing it back to the previous one and even the standard one. :( :( :(

cdoyle
12-03-2004, 09:09 PM
yep, here too mate http://community.ddance.fm/member.php?u=1
(has a flash banner embedded)
http://community.ddance.fm/member.php?u=15
has text,pic,banner and the guestbook on it :)

Neither URL seemed to go anywhere?

the webpage feature is what I'm mostly curious about.

cdoyle
12-04-2004, 01:50 PM
OK, the URL's seem to be working now.

That looks pretty cool, so does anyone know about my question on the usergroups? If I set it too only be an option for the paying members. If they let thier membership expire,and they get bumped down to a regular member. Does the webpage, and guestbook get turned off automatically?

Thanks
Chris.

Swedie
12-05-2004, 10:09 AM
OK, the URL's seem to be working now.

That looks pretty cool, so does anyone know about my question on the usergroups? If I set it too only be an option for the paying members. If they let thier membership expire,and they get bumped down to a regular member. Does the webpage, and guestbook get turned off automatically?

Thanks
Chris.
If the usergroup they are turned down to, is not allowed to have a guestbook or webpage, then then their guestbook and webpage will dissappear.

Swedie
12-05-2004, 10:17 AM
Hey Swedie...thanks for the update...this fixes the 'istyles' thingie, but the more link on the smilie box still isn't working...it gives this error: smiliewindow_x not definded...

and the 'modify webpage' layout is broken now, I'm using 760px...(see attached screenshot)

Greets,
Sorry, the WYSIWYG editor does that. I can't help ... maybe I should have a enable disable button for the WYSIWYG editor.

Nordinho
12-05-2004, 03:48 PM
Sorry, the WYSIWYG editor does that. I can't help ... maybe I should have a enable disable button for the WYSIWYG editor.

Hey Swedie, by removing a table I managed to get it displayed, without really breaking the layout...

Have you looked after the 'more link' on the smilie box?? Would it otherwise be possible to just remove the more link and only show the default smilies??

By the way, I've just noticed that there are quite some templates not being cached...

Greets,

ACentral
12-05-2004, 06:05 PM
Would it be too much trouble for someone to whip up a quick mod to show an icon or link in postbit for those users who have webpages? I tried myself but with no luck.

frage
12-05-2004, 07:58 PM
Would it be too much trouble for someone to whip up a quick mod to show an icon or link in postbit for those users who have webpages? I tried myself but with no luck.
http://www.vbulletintemplates.com/mods/showthread.php?t=5957

this is the +gender hack+
I think you can modify it for your problem---
AdminCP > Profile Fields > Add new proofile field > Single Select Menu >
Title > Homempage (or any other one)
Description > Please select
Options:
Undisclosed
yes
no
Default Option: No, but not blank

make note of the field id

Template edit:
in postbit(_legacy)
find


<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>


add under


<if condition="$post[fieldX] != Undisclosed"><div>Homepage: $post[fieldX] <img src="$stylevar[imgdir_misc]/homepage_$post[fieldX].gif" alt="$post[fieldX]" /> </div></if>


x is the ID of your homepage profile fields


For the images to work you would need to upload

images/misc/homepage_yes.gif and homepage_no.gif

++++++++++++++++
I don?t try this...

frage

Swedie
12-05-2004, 08:53 PM
Hey Swedie, by removing a table I managed to get it displayed, without really breaking the layout...

Have you looked after the 'more link' on the smilie box?? Would it otherwise be possible to just remove the more link and only show the default smilies??

By the way, I've just noticed that there are quite some templates not being cached...

Greets,
I got that "more" link working a while ago, but I must've not included it in the update. I'll check into it.

Nordinho
12-06-2004, 01:14 AM
I got that "more" link working a while ago, but I must've not included it in the update. I'll check into it.

Oke thanks...

ACentral
12-06-2004, 07:20 AM
http://www.vbulletintemplates.com/mods/showthread.php?t=5957

this is the +gender hack+
I think you can modify it for your problem---
.......

Thanks! I may do it this way. I was hoping for something to automatically recognize webpage content added and display the icon, rather than the user having to select a profile field saying they've filled it out, but this should do. Thanks again

If anyone knows how to have it automatically recognize when a user's webpage has content, I'm sure more than a few people would appreciate it.

Wordplay
12-07-2004, 09:07 AM
okay i messed up, i couldn't upgrade the query. and couldn't just insert the new one. so i figured i'd just delete the old sql structure and then replace it. which i did. bad idea, just lost all my guestbook entries and webpages. now, i inserted the new one, but got an error about setting_allowguestbook_desc duplicate. now, the guestbooks and webpages do work. but they don't show any 'phrases', meaning if people go in to edit the guestbook they just see radio buttons. how can i fix this?

lakers6473
12-07-2004, 10:57 PM
Quick question.. is there any way that i can add a music background in the profile through this hack? I have this hack but when i add backgroud sound in the html, it does not play.. just a question..

Tchrin
12-08-2004, 07:56 AM
Great hack, thanks a lot. A few comments/bugs -

In the installation_READ_THIS_ONLY.txt file (I haven't looked at the upgrade one so not sure if this is true there as well)....

-In the 2nd important part you say to Click "Update". This should read Click "Save"

-Also in the 2nd important part you say apply new General Permissions settings for all the usergroup you have!. This isn't necessary, you only need to update the permissions for any groups that have primary users in them. Which for most people will probably only be Registered Users, Users Awaiting Email Confirmation & Administrators.

-Clicking the [more] link in the smilies box doesn't work. It just refeshes the edit webpage you're on. I have some 330 smilies on my forum (at ATITD.net btw) so it'd be good if my users could use them on their MiniSites.

ogetbilo
12-08-2004, 01:01 PM
okay i messed up, i couldn't upgrade the query. and couldn't just insert the new one. so i figured i'd just delete the old sql structure and then replace it. which i did. bad idea, just lost all my guestbook entries and webpages. now, i inserted the new one, but got an error about setting_allowguestbook_desc duplicate. now, the guestbooks and webpages do work. but they don't show any 'phrases', meaning if people go in to edit the guestbook they just see radio buttons. how can i fix this?
Just remove all the phrases from database and reinstall just the phrases. After this you have to search for one of your phrase and save the phrase again. After that your problem should be solved.

Wordplay
12-08-2004, 01:46 PM
how do i remove ALL the phrases? you mean one by one?

i don't even know how to do that, i can just find an edit option in my phrases in the ac.

Swedie
12-09-2004, 09:48 PM
how do i remove ALL the phrases? you mean one by one?

i don't even know how to do that, i can just find an edit option in my phrases in the ac.
sorry guys for leaving you. But I am here to tell you that I will leave once again (going to spain for pre-season track riding) and won't be back in game until around christmas or maybe new years.

I hope you all can give eachother support.

T3MEDIA
12-10-2004, 03:32 AM
On the top of my page I get this:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /nfs/cust/3/18/41/514813/web/forums/profile.php on line 449

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /nfs/cust/3/18/41/514813/web/forums/profile.php on line 455

IF ANYONE can help that would be nice.
------------------------------------------------------------
edit missed a whole table.... whoah. It looks sooooo good.
Thank you.

docvader
12-10-2004, 05:26 AM
As per the instructions above:
PLEASE DOWNLOAD THE NEW VERSION AND GO OVER IT AGAIN! THIS ONE WORKS! I JUST TRIED IT!
Talk about instilling fear in the hearts of us hacker wanna be's.

But, I installed the thing. It took me quite a bit of time, compared to all the other hacks I've loaded onto my boards, upwards of thirty to sixty minutes, depending upon how cautious you want to be. And while you're installing it, you just sit back and wonder at the complexity of the thing. Swedie is to be congratulated. Truly.

And quite to my surprise, it does work. Rather nicely in fact. I haven't tested all the features yet, but so far, I am truly very impressed. And glad I spent the time installing this.

Donations on the way man. Have a good time in Spain. Watch out for the women with the hair under their arms...

mariannet
12-10-2004, 09:55 PM
**BUMP**

I have it running on my "upcoming" site.. you can check it out though..
http://www.keepthembleeding.net/forums/member.php?u=1

I don't have a use for the webpage mod, so I don't have that up, just the guestbook.
Works/looks good, IMO. The guestbook HTML could use a little cleaning up/vb3 look, but it looks fine the way it is.


Swedie, I found a bug.. I'm not sure if anyone has reported it. If I edit a guestbook message, it doesn't update.. still stays the same. Just thought I'd report that.

Gone through all 29 pages and ended up here. A lot of you could do with doing the same as a lot of questions are already covered.

First off.. Installed fresh on 3.0.3 no problems.
Managed to change style to match users choice.

As in this post, I cannot delete a post in the guestbook and editing does nothing. No errors rapported.

Anyone can help a Danish Lady in need? :)

kikosho
12-10-2004, 11:17 PM
This feature is awesome. Installed it the other night. Only thing which would make it even more awesome -- the abilty to log multiple log entries like a standard "blog"

Snow
12-12-2004, 08:07 AM
Thanks! I may do it this way. I was hoping for something to automatically recognize webpage content added and display the icon, rather than the user having to select a profile field saying they've filled it out, but this should do. Thanks again

If anyone knows how to have it automatically recognize when a user's webpage has content, I'm sure more than a few people would appreciate it.
That would be a very handy feature. :) In the meantime I've had to make do with a modified version of what frage posted...... I added the profile field as frage states then replaced
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
with
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] <if condition="$post[field6] = Yes"><a href="member.php?$session[sessionurl]userid=$post[userid]"><img src="$stylevar[imgdir_misc]/guestbook_yes.gif" border="none" alt="Guestbook" /></a> </if></div>
This should show a small guestbook_yes.gif next the ICQ/msn icons.

Snow
12-12-2004, 08:14 AM
As in this post, I cannot delete a post in the guestbook and editing does nothing. No errors rapported.I've got this same problem, does anyone know how to fix it?
:confused:

I did find another small bug, I don't know if its already been mentioned and corrected. In the email notification of a new guestbook entry, the link points to [link removed] instead of my forum. The problem was in member.php
<a href=\"[link removed]/member.php?u=".GBUSERID."\">".$vbphrase['wg_click_here_to_view_guestbook']."</a>";

fleccy
12-12-2004, 09:53 AM
works great for me, thanks :D

Wordplay
12-12-2004, 06:40 PM
want to inhance my guestbook script:
-is there anyway to change the actual font face and size for all guestbooks?
-how would i set using avatars in the guestbook defaultly to yes?

T3MEDIA
12-13-2004, 08:13 AM
I've got this same problem, does anyone know how to fix it?
:confused:

I did find another small bug, I don't know if its already been mentioned and corrected. In the email notification of a new guestbook entry, the link points to [link removed] instead of my forum. The problem was in member.php
<a href=\"[link removed]member.php?u=".GBUSERID."\">".$vbphrase['wg_click_here_to_view_guestbook']."</a>";

didnt even see that.

T3MEDIA
12-13-2004, 08:32 AM
Is there anyone out there that could make a mod or show me how to refuse some types of HTML? ie z-index. using that you could cover the whole vbulletin screen.

and I would love to force the webpage to be a certain size. I did a page and it was huge. You know there is going to be that idiot member.

Let me know if it is possable! Thanks.

Snow
12-13-2004, 11:04 AM
Is there anyone out there that could make a mod or show me how to refuse some types of HTML? ie z-index. using that you could cover the whole vbulletin screen.
In the options (adminCP) for the webpage, there's a box where you may list the html tags that are allowed (anything else shouldn't work although I haven't tested this). However, allowing html is risky so you could try adding some more custom BBcode for your members to use instead.

and I would love to force the webpage to be a certain size. I did a page and it was huge. You know there is going to be that idiot member.

Let me know if it is possable! Thanks.In the file webgbset.php, the following two lines control the sizes of the guestbook and webpage

$wghtml['webpagewidth'] = '60%'; //Default 60%
$wghtml['gbwidth'] = '30%'; //Default 40%I assume it should work if you wanted to use fixed values e.g. 500px instead of percentages. I don't think users can override these values.

docvader
12-13-2004, 04:52 PM
That would be a very handy feature. :) In the meantime I've had to make do with a modified version of what frage posted...... I added the profile field as frage states then replaced
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div>
with
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] <if condition="$post[field6] = Yes"><a href="member.php?$session[sessionurl]userid=$post[userid]"><img src="$stylevar[imgdir_misc]/guestbook_yes.gif" border="none" alt="Guestbook" /></a> </if></div>
This should show a small guestbook_yes.gif next the ICQ/msn icons.

Awesome idea. But for some reason, everyone has "Guestbook" next to their name in their postbit, even though "undisclosed" is set up as default in that user profile. What did I do wrong? I have the appropriate field listed, and have created a user profile to go along with this.

Thanks!
rich
x.russbo.com/vb/index.php

Snow
12-13-2004, 05:16 PM
Awesome idea. But for some reason, everyone has "Guestbook" next to their name in their postbit, even though "undisclosed" is set up as default in that user profile. What did I do wrong? I have the appropriate field listed, and have created a user profile to go along with this.

Thanks!
rich
x.russbo.com/vb/index.php
You did nothing wrong, I missed a = It should be
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] <if condition="$post[field6] == Yes"><a href="member.php?$session[sessionurl]userid=$post[userid]"><img src="$stylevar[imgdir_misc]/guestbook_yes.gif" border="none" alt="Guestbook" /></a> </if></div>Sorry :o

T3MEDIA
12-13-2004, 05:46 PM
In the file webgbset.php, the following two lines control the sizes of the guestbook and webpage

$wghtml['webpagewidth'] = '60%'; //Default 60%
$wghtml['gbwidth'] = '30%'; //Default 40%I assume it should work if you wanted to use fixed values e.g. 500px instead of percentages. I don't think users can override these values.
Hummm good looking out. This seems to be width though. I am more into the hight. Let me look and see if that is there as well.

Oh BTW I put any code I wanted. bypassed what was "allowed"

Wordplay
12-13-2004, 10:11 PM
okay i messed up, i couldn't upgrade the query. and couldn't just insert the new one. so i figured i'd just delete the old sql structure and then replace it. which i did. bad idea, just lost all my guestbook entries and webpages. now, i inserted the new one, but got an error about setting_allowguestbook_desc duplicate. now, the guestbooks and webpages do work. but they don't show any 'phrases', meaning if people go in to edit the guestbook they just see radio buttons. how can i fix this?

want to inhance my guestbook script:
-is there anyway to change the actual font face and size for all guestbooks?
-how would i set using avatars in the guestbook defaultly to yes?

help!

kikosho
12-14-2004, 08:41 AM
Sorry if I missed it --- but can someone tell me how to include somewhere in the postbit that a user actually has an active "webpage" so users will know which ones to check out if they wish?

Anyone that knows how or can repost the code (if they found a solution), I'd really appreciate it! :)

ChuanSE
12-14-2004, 09:30 AM
Swedie mate,

I still can't find out why a member that cannot have gb or wp has a width problem in my style on his memberpage ( http://community.ddance.fm/member.php?u=38 )

allthough fixed width with gb/wp ( http://community.ddance.fm/member.php?u=1 )

Seems even that it is ok with only a gb... ( http://community.ddance.fm/member.php?u=5 )

//This file includes settings for Webpage and Guestbook script
$wghtml['webgbtotalwidth'] = '735';
$wghtml['webpagewidth'] = '65%'; //Default 60%
$wghtml['gbwidth'] = '35%'; //Default 40%
$wghtml['gbpagelimit'] = '10';
$wghtml['gbpagestoshow'] = '10';


:/

docvader
12-14-2004, 03:22 PM
Sorry if I missed it --- but can someone tell me how to include somewhere in the postbit that a user actually has an active "webpage" so users will know which ones to check out if they wish?

Anyone that knows how or can repost the code (if they found a solution), I'd really appreciate it! :)

Look at Snow's response a few posts up. Works great!
rich

PixelFx
12-14-2004, 03:48 PM
is the first zip updated to work find on first install on 3.0.3? I'd love to try this out :)

Nordinho
12-14-2004, 05:41 PM
is the first zip updated to work find on first install on 3.0.3? I'd love to try this out :)

it works for me on 3.03, but there a some small errors left...and the creator of the hack is not back until Christmas/New Year...

T3MEDIA
12-15-2004, 01:27 PM
Now I have nothing to do with this code just want to update people
it works on 3.0.3 I tried it.

There is a odd thing though.
If you post in the guestbook you can edit it. ok
but why would the owner of the guest book be allowed to edit? That is odd. A guest book is like a email that sticks. Users will change what people post to the guest book to what ever they like. A girl could say nice page and a owner of that page can change it to I am a hore dont talk to me if they got into a fight. Get my point? any idea how to change that?

Thanks. Also still looking on a way to have the website a FIXED size. so people dont put up 800x800 web pages

Also z-index works on this. in otherwords if a user has a webpage they can cover thier whole profile with HTML. that is a security bug. They could mimic the site this way.

Just to let you guys know.

ChuanSE
12-17-2004, 06:22 AM
Now I have nothing to do with this code just want to update people
it works on 3.0.3 I tried it.

There is a odd thing though.
If you post in the guestbook you can edit it. ok
but why would the owner of the guest book be allowed to edit? That is odd. A guest book is like a email that sticks. Users will change what people post to the guest book to what ever they like. A girl could say nice page and a owner of that page can change it to I am a hore dont talk to me if they got into a fight. Get my point? any idea how to change that?

Thanks. Also still looking on a way to have the website a FIXED size. so people dont put up 800x800 web pages

Also z-index works on this. in otherwords if a user has a webpage they can cover thier whole profile with HTML. that is a security bug. They could mimic the site this way.

Just to let you guys know.

I don't agree here

EVERY site with a guestbook has the possibility to edit those msgs.

So why not in this one ;)

theArchitect
12-17-2004, 09:04 PM
I am not having much luck in getting this working. I have checked the instructions carefully, but nothing is displaying and when I go to user groups to check the preferences they are not being remembered by the system.

I thought that it may be to do with the last two steps, one of which doesn't seem to be working as there is no update button in vBulletin Options > Guestbook / Webpage Preferences only a save button. I have clicked this but am still getting blank pages in the User CP.

Your assistance would be appreciated.

tobkat
12-18-2004, 09:27 AM
Is there a option to autodelete guestbook entrys after a specified period of time. for example, all entrys older than 15 days are being deleted automatically ?

and...

does anyone know why the image tag does not work if i use url it only shows the url to the image but not the image itself.

T3MEDIA
12-18-2004, 10:56 PM
I am using this so dont think I dont like it. But there are somethings that are not good about it as well.

1. There is no way at all for an admin to delete a webpage. So if I put porn on my page the admin can not close it delete it edit it nothing. (yes... I know... before you jump at the reply) You can delete the account but that is just too much sometimes.

same goes for the guestbook. yet the user can do all they feel.... ;) at ChuanSE

2. You can not set a auto size for the guestbook. (like a character limit) and say I want it to stop at 3 entrys and flip over. right now I belive its 10.

besides that. AWSOME.

kikosho
12-19-2004, 01:28 AM
I love it too. However, it would be cool if the user could create additional multi-pages too. Right now, it's limited to pruning older entries or simply dealing with an extremely long webpage should the user decide to retain ALL of their entries. Is there anyway to probably incorporate some added changes?

PixelFx
12-19-2004, 09:38 AM
it looks like a nice hack, I think I'll wait till the new year when its more stable, a lot of the sugguestions above sound great as well.

Swedie
12-20-2004, 06:55 PM
hey all! I am back from Spain! Had a great time! If ya wanna see what I did, check out this video:
http://www.sporthoj.com/stuff/filmer/spanien_low.wmv 60mb

Anyhow, back to the script.

* What about removing the "Edit" part for messages on a users guestbook page? But keep Edit for his own messages. That should make things a bit better don't it? Administrators will still be able to edit ALL messages though.

* Admin removal of a webpage... I can make that happen. Small "Delete" button will appear.. umh somewhere on the user's page.

ChuanSE: Please change in wbgbset.php:
$wghtml['webgbtotalwidth'] = '100%';
you have it set to 735 = forced width... not good.
ALSO, appears the HTML code is broken. Try downloading the latest copy of this script and update the contet of "memberinfo" and member.php.

I will make it so that it won't appear at all if no webpage is set. that is in a future release though.

Christmas is coming up and I gotta spend time with da girl soon... but I should have something nice for you all soon.

T3MEDIA
12-20-2004, 07:56 PM
have fun!

frage
12-20-2004, 10:27 PM
hey all! I am back from Spain! Had a great time! .

;-)


all updates, upgrades,
but smilies only text and

does anyone know why the image tag does not work if i use url it only shows the url to the image but not the image itself.

very
:disappointed: :disappointed:

frage

Swedie
12-21-2004, 10:03 PM
;-)


all updates, upgrades,
but smilies only text and


very
:disappointed: :disappointed:

frage
Download the latest .ZIP file and update member.php. thanks. It will fix this problem.

Swedie
12-21-2004, 10:10 PM
Snow and T3MEDIA, please download latest .ZIP and update members.php. Please don't mention the name of the site that was in there. Don't want to give that guy any more heartache.

Swedie
12-21-2004, 10:11 PM
**BUMP**



Gone through all 29 pages and ended up here. A lot of you could do with doing the same as a lot of questions are already covered.

First off.. Installed fresh on 3.0.3 no problems.
Managed to change style to match users choice.

As in this post, I cannot delete a post in the guestbook and editing does nothing. No errors rapported.

Anyone can help a Danish Lady in need? :)
The problem with deleteing and editing is weird. I don't have this problem or can replicate it... I'll do some more testing. Meanwhile, sit back .. celebrate christmas.

T3MEDIA
12-21-2004, 10:55 PM
Snow and T3MEDIA, please download latest .ZIP and update members.php. Please don't mention the name of the site that was in there. Don't want to give that guy any more heartache.
I want to... but Im scared.... lol is there a update file? like what to do? hehe

frage
12-22-2004, 09:44 PM
Download the latest .ZIP file and update member.php. thanks. It will fix this problem.

it fixed the prob with the img tag
but smilies are always not correct and know
I can't delete or edit a guestbook entry ...


:disappointed: :disappointed:

have a nice time
frage

frage
12-22-2004, 11:41 PM
if I use firefox I can't edit and delete any guestbook entry

Netscape and IE I can

but 75% of my users using firefox :(

I hope this will help you to fix the prob
;)
frage

laeth
12-25-2004, 04:17 AM
any idea what this means:

An error occurred while attempting to execute your query. The following information was returned.

error number: 1064
error desc: 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 ';
ALTER TABLE user_guestbook ADD `notification` varchar(10) NO

Any help would be great thanks. It happened when I tried to run the sql file. :)

frage
12-25-2004, 10:44 AM
CREATE TABLE `user_guestbook` (
`userid` varchar(100) NOT NULL default '',
`name` varchar(100) default '',
`lastentry` varchar(20) default '',
`status` char(3) NOT NULL default 'on',
`usesmilies` smallint(6) NOT NULL default '2',
`position` varchar(10) NOT NULL default 'right',
`notification` varchar(10) NOT NULL default 'no',
`showavatar` smallint(6) NOT NULL default '0',
`text` text,
PRIMARY KEY (`userid`)
) TYPE=MyISAM;


laeth
I'm a mysql (professional) dummy ;)
but check your sql file and compare the above text with the text in it

wih kind regards
frage

T3MEDIA
12-25-2004, 04:49 PM
you guys know what he means (Sweedie) about updating the members.php?

laeth
12-27-2004, 02:25 PM
CREATE TABLE `user_guestbook` (
`userid` varchar(100) NOT NULL default '',
`name` varchar(100) default '',
`lastentry` varchar(20) default '',
`status` char(3) NOT NULL default 'on',
`usesmilies` smallint(6) NOT NULL default '2',
`position` varchar(10) NOT NULL default 'right',
`notification` varchar(10) NOT NULL default 'no',
`showavatar` smallint(6) NOT NULL default '0',
`text` text,
PRIMARY KEY (`userid`)
) TYPE=MyISAM;


laeth
I'm a mysql (professional) dummy ;)
but check your sql file and compare the above text with the text in it

wih kind regards
frage

Didnt help unfortunatly. Thanks anyway.

laeth
12-27-2004, 02:31 PM
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: 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 ';

CREATE TABLE `user_webpage` (
`userid` int(11) NOT NULL

I missed the last bit off last time. Maybe that will help more.

Snow
12-28-2004, 11:28 AM
Snow and T3MEDIA, please download latest .ZIP and update members.php. Please don't mention the name of the site that was in there. Don't want to give that guy any more heartache.
I'm confused Swedie :ermm: I've just downloaded the latest zip but in file_memberphp the "site that was in there" is still there.

Line 191 of file_memberphp:
$emailmessage = "".$vbphrase['wg_you_have_a_new_guestbook_entry_from']." ".$bbuserinfo['username']."!\n
\n
<a href=\"http://www.site_name_deleted.com/community/member.php?u=".GBUSERID."\">".$vbphrase['wg_click_here_to_view_guestbook']."</a>";


You know what would be really handy, Swedie, is if you could keep a log with details of all the changes made. I think that would lead to less confusion.

Snow
12-28-2004, 11:33 AM
if I use firefox I can't edit and delete any guestbook entry

Netscape and IE I can

but 75% of my users using firefox :(

I hope this will help you to fix the prob
;)
frageI've just tried in IE but I can't edit and delete in IE either.
:cry: :cry: I seem to remember wayyyyy back when I first installed this hack, before all the updates, the edit/delete guestbook entry was working so it must be one of the "updates" that has caused this bug.

T3MEDIA
12-28-2004, 11:31 PM
Cant edit... cant delete guestbooks. Firefox didnt try IE. AND I downloaded the zip ran the update non of the database stuff would work. oh man....

I dont know what sweed is talking about.

Snow did you get this to work?

Snow
12-29-2004, 05:45 AM
Cant edit... cant delete guestbooks. Firefox didnt try IE. AND I downloaded the zip ran the update non of the database stuff would work. oh man....

I dont know what sweed is talking about.

Snow did you get this to work?
The guestbooks/webpages are working, but the bugs aren't fixed if that's what you mean. I guess we'll just have to wait for Sweedie to return to give us an update on what's going on as I'm just as confused as you are.

laeth
12-30-2004, 09:07 PM
I managed to fix my problem just running the sql file from phpmyadmin (although I didn't change my prefix's and had to delete everything and blah it took ages to sort out). But anyway, I was wondering if there was anyway to change the font color for the guestbook. e.g 'subject' 'rules' smilies' 'enabled' and 'message'?

Thanks a lot.

Laeth.

JD210
12-31-2004, 12:06 PM
Okay, I have read through this thread 3 times now, and have done eveything recommended and I still cannot get this thing to work right, all it is doing in messing up my board now. How can I uninstall everything? I am running 3.0.3

samjo
01-07-2005, 07:10 PM
My first hack working with the first install;)

MojoNixon
01-07-2005, 08:56 PM
hmm ..i have to install 3.0.5 ...is this mod still working?

Swedie
01-08-2005, 03:08 PM
I'm confused Swedie :ermm: I've just downloaded the latest zip but in file_memberphp the "site that was in there" is still there.

Line 191 of file_memberphp:
$emailmessage = "".$vbphrase['wg_you_have_a_new_guestbook_entry_from']." ".$bbuserinfo['username']."!\n
\n
<a href=\"http://www.site_name_deleted.com/community/member.php?u=".GBUSERID."\">".$vbphrase['wg_click_here_to_view_guestbook']."</a>";


You know what would be really handy, Swedie, is if you could keep a log with details of all the changes made. I think that would lead to less confusion.
Download latest version please. Works... promise.

Swedie
01-08-2005, 03:09 PM
My first hack working with the first install;)
Great! Finally.. ;)

Swedie
01-08-2005, 03:10 PM
hmm ..i have to install 3.0.5 ...is this mod still working?

My membership ran out 3 days before 3.0.5 came out. Just great. So I can't test it out for you.

Try it.. follow the instructions. Is there something just not right... then don't continue.

Swedie
01-08-2005, 03:10 PM
I'll look into the problem with deleting and editing own guestbook entries.

Swedie
01-08-2005, 04:30 PM
I'll look into the problem with deleting and editing own guestbook entries.
When you all say that Edit / Delete don't work. Is it that you can't click the button? or is it not deleting or bringing you to the next page confirmation the deletion / edit ? When editing, do you atleast see the editing screen?

I am trying to duplicate the problem but can't.

rikku3978
01-08-2005, 04:52 PM
Thank you for releasing this great hack. ^_^ It took me awhile and a bit of editing, but I did get it to work!

Great work!

frage
01-08-2005, 05:55 PM
When you all say that Edit / Delete don't work. Is it that you can't click the button? or is it not deleting or bringing you to the next page confirmation the deletion / edit ? When editing, do you atleast see the editing screen?

I am trying to duplicate the problem but can't.
I can klick the button
I can type text in the filed
I can send it
but I can't see my "edittext "- the entry looks as before I have done all this
:ermm:
best regards
frage

edit: I've tested it in all of my brwosers IE and all geckos ..= :-(

Swedie
01-08-2005, 07:52 PM
I can klick the button
I can type text in the filed
I can send it
but I can't see my "edittext "- the entry looks as before I have done all this
:ermm:
best regards
frage

edit: I've tested it in all of my brwosers IE and all geckos ..= :-(
Strange, that is for sure. You must've missed something in the installation. Darnit.. I can't duplicate the problem.

frage
01-09-2005, 01:51 PM
if I install it complete new I don't have to use your upgrade info, is this correct ?
because your webpages works like a charm--ok I have changed your html;)
delete and edit won't work...*hmpf*
could it be a prob with the settings of php ?

best regards
frage

T3MEDIA
01-09-2005, 07:04 PM
When you all say that Edit / Delete don't work. Is it that you can't click the button? or is it not deleting or bringing you to the next page confirmation the deletion / edit ? When editing, do you atleast see the editing screen?

I am trying to duplicate the problem but can't.
Sweed. Please. PLEASE.
clearlly what should I and snow do?

I had your version before you went away for the holidays. Then I downloaded your update. NOW I see you have a new update.

What should I do? is it just one file chnage?
Has the guestbook thing fixed? It works on some browsers but not all. WHY? I dont know. Is it javascript or something? (Delete guest book)

also If people add tags to thier pages this hack misses them.
I tried to block z-index no good. for example if they center thier whole page everything on thier profile page gets centered. So I wanted to block that HTML command. Didnt work.

PLEASE let me know.

Swedie
01-09-2005, 07:21 PM
Sweed. Please. PLEASE.
clearlly what should I and snow do?

I had your version before you went away for the holidays. Then I downloaded your update. NOW I see you have a new update.

What should I do? is it just one file chnage?
Has the guestbook thing fixed? It works on some browsers but not all. WHY? I dont know. Is it javascript or something? (Delete guest book)

also If people add tags to thier pages this hack misses them.
I tried to block z-index no good. for example if they center thier whole page everything on thier profile page gets centered. So I wanted to block that HTML command. Didnt work.

PLEASE let me know.
I like IE. I dislike any other browsers. But I'll take a look in other browsers some time.

How did you attempt to "block" <center> ? You should simply put in the admin control area for the webpage only the tags you want to allow.

T3MEDIA
01-11-2005, 03:12 AM
I like IE. I dislike any other browsers. But I'll take a look in other browsers some time.

How did you attempt to "block" <center> ? You should simply put in the admin control area for the webpage only the tags you want to allow.
swedie its not working man. I dont know how much more can I tell ya.

ALso how can I as the admin remove code a user put on their page? I cant adjust the webpages.

And no offense but you didnt answer the last questions.

PixelFx
01-11-2005, 03:30 AM
I know your pain my membership for one of my owned licences exspired the day 3.0.5 was released, its a pain, however I have 3.0.5 on my other sites, please let me know when someone gets this to install correctly.

MojoNixon
01-11-2005, 02:39 PM
Ok ...first of all ..it worked fine on 3.0.3 for me ...no problems..very good work.

But now i switched to 3.0.5 ... made an sql backup. But its not working for me ...i just made the changes to different php files...and i added the 2 templates too. When i update the can_have_guestbook phrase nothing happens. I can´t see the Webpage & Guestbook Settings in AdminCP > General Options.

What now? The stuff is in the database, the phrases are there.

ChristianA
01-11-2005, 02:47 PM
Exactly the same for me!

MojoNixon
01-11-2005, 02:52 PM
i just tried to put the insert.sql to the db again but its not working due to the duplicate entries.

T3MEDIA
01-11-2005, 03:15 PM
This does not work on 3.0.5
3.0.3 It does but has bugs.

1. You can not edit users webpages. (in any way) To stop a users webpage (ie nudity or bad photos) you would have to do some heavy DB editing or delte thier account.
2. Guestbook entry delte only works on some browsers.
3. Blocking HTML code does not work for all tags (ie z-index can cover your whole profile page)
4. there is no size restraint. (ie user can have a 1200x1200 webpage if they wanted to.

So if your ok with that download and install. If you have issues with that I suggest you wait.

It is a shame because its a hot idea. Just not secure for me.

MojoNixon
01-12-2005, 07:40 AM
Thats really bad... i expected that its not working on 3.0.5 ...i hope there will be an update soon .... its a big hurt for my community... i´m willing to pay 40$ if it works on 3.0.5

amykhar
01-14-2005, 02:34 AM
It worked for me on 3.0.5 with no problems. Easy install, working like a charm. I agree that there needs to be an admin edit interface though.

Deviant++
01-14-2005, 10:57 AM
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 ?

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

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.php?p=595198&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
Yoyo, check this out:
https://vborg.vbsupport.ru/showpost.php?p=595198&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...
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_gb_avatarheight_title', 'Set Avatar Height', 5000);
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
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
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
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
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
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: