vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Webpage & Guestbook Script (https://vborg.vbsupport.ru/showthread.php?t=71065)

KTBleeding 11-23-2004 01:54 PM

Hmm, well these are just me being picky.. and I think you already plan on doing some of them, but just incase..

- Show users avatar when they comment in the gustbook.. (if someone doesn't want it they can remove it from the template.. so you don't have to add a "yes/no" option in the admincp)
- Guestbook is on by default.
- Guestbook HTML is a template rather than hardcoded (this isn't a big deal, just makes it easier to skin ;) )


That's about all I can think of. Maybe allow HTML in the guestbook (basic img, b, i, etc) or allow guestbook attachments that create thumbnails, like vb does. That's not really all that wanted for me though.

ChuanSE 11-23-2004 02:03 PM

Nononono, don't do that...
No html in the gb, no reason to. you forget the focus should stay on the forums :p. It's supposed to stay a small guestbook hehehe ;)

just my 2 cents :D

MojoNixon 11-23-2004 03:00 PM

well html on the userpages would be really nice ...so implement it .
i guess there are some people like me who want that html / page-building feature on the profiles. ;)

Swedie 11-23-2004 06:22 PM

Quote:

Originally Posted by MojoNixon
well html on the userpages would be really nice ...so implement it .
i guess there are some people like me who want that html / page-building feature on the profiles. ;)

there won't be HTML nor vBcode in guestbooks.

HTML or vBcode for the webpage is an option set by the user.

It is gonna be hard to show an avatar since they're most often too big to fit. I would have to scale it down to something like 60x60 pixels so it fits OK'ish without messing up content.

Swedie 11-23-2004 09:35 PM

Quote:

Originally Posted by Swedie
there won't be HTML nor vBcode in guestbooks.

HTML or vBcode for the webpage is an option set by the user.

It is gonna be hard to show an avatar since they're most often too big to fit. I would have to scale it down to something like 60x60 pixels so it fits OK'ish without messing up content.

okay, the Avatar and HTML or vBcode option is done.

ogetbilo 11-23-2004 11:54 PM

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 ?

ogetbilo 11-24-2004 12:31 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 ?

ogetbilo 11-24-2004 01:41 AM

I managed to fit the webpage part in the members profile to the style but i disabled my users to choose their background color , font color , border color. But where can I edit Guestbook colors ?
It is not in memberinfo template. I am not an expert but here is the memberinfo template I'm using
Code:

<br />

<if condition="$show['signature']">
<br>

<if condition="$vboptions[allowguestbook] == '1'">
<if condition="$userinfo[permissions][canuseguestbook] == '1'">
<if condition="$webpage[gb_status] == 'on'">
<if condition="$webpage[gb_position] == 'right'">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top>
</if>
<if condition="$webpage[gb_position] == 'left'">
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top width=350 nowrap>
$webpage[gb_html]
</td><td valign=top>
</if>
</if>
<else />
<table width=100% border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top>
</if>
</if>

<if condition="$vboptions[allowwebpage] == '1'">
<if condition="$userinfo[permissions][canusewebpage] == '1'">

<table width=100% border=0 cellspacing=0 cellpadding=1>
<tr><td class="tborder" align="center">
<font size=2 color=cccccc><b>$userinfo[username]'s webpage</b></font>
</td></tr>
<tr><td class="thead" border=1 cellpadding=1>
<if condition="$webpage[description]">
<b>A?ıklama:</b> $webpage[description]
</if>
</td></tr>
</table>

<table width=100%>
<tr><td class="alt1"  border=1 valign=top>

<if condition="$webpage[name]">
<font size=3><b>$webpage[name]</b></font><br>
</if>
<br>
<if condition="$webpage[text]">
$webpage[text]<br>
</font>
<else />
<font color="#CCCCCC">This user has no webpage content.</font>
</if>
<br>
<br>

<font size="small">
<i>View:</i> $webpage[hits]<br>
</font>

</td></tr>
</table>

<br />

</if>
</if>

<if condition="$vboptions[allowguestbook] == '1'">
<if condition="$userinfo[permissions][canuseguestbook] == '1'">
<if condition="$webpage[gb_status] == 'on'">
<if condition="$webpage[gb_position] == 'right'">
</td><td valign=top width=350 nowrap>
$webpage[gb_html]
</td></tr>
</table>
</if>
</if>
</if>
</if>

<if condition="$vboptions[allowguestbook] == '1'">
<if condition="$userinfo[permissions][canuseguestbook] == '1'">
<if condition="$webpage[gb_status] == 'on'">
<if condition="$webpage[gb_position] == 'left'">
</td></tr>
</table>
</if>
</if>
</if>
</if>

<if condition="$vboptions[allowguestbook] == '1'">
<if condition="$userinfo[permissions][canuseguestbook] == '1'">
<if condition="$webpage[gb_status] == 'on'">
<if condition="$webpage[gb_position] == 'bottom'">
$webpage[gb_html]
</if>
</if>
</if>
</if>


ChuanSE 11-24-2004 03:40 AM

Quote:

Originally Posted by Swedie
okay, the Avatar and HTML or vBcode option is done.

When can we expect the release Swedie? :D

Swedie 11-24-2004 10:41 AM

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.

ogetbilo 11-24-2004 01:11 PM

Quote:

Originally Posted by Swedie
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

Quote:

Originally Posted by ogetbilo
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

Quote:

Originally Posted by Swedie
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:

HTML Code:

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

...becomes...

HTML Code:

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


urmyantichrist 11-25-2004 02:51 AM

Quote:

Originally Posted by ogetbilo
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

Quote:

Originally Posted by urmyantichrist
Having this problem too...

I think this is going to be fixed with the new version.

Swedie 11-25-2004 06:48 AM

Quote:

Originally Posted by ogetbilo
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

Quote:

Originally Posted by paulmjno
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:

HTML Code:

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

...becomes...

HTML Code:

<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

Quote:

Originally Posted by Swedie
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

Quote:

Originally Posted by MojoNixon
??? 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

Quote:

Originally Posted by MojoNixon
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

Quote:

Originally Posted by Swedie
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

Quote:

Originally Posted by Swedie
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

Quote:

Originally Posted by Swedie
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

Quote:

Originally Posted by MojoNixon
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.


All times are GMT. The time now is 03:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01967 seconds
  • Memory Usage 1,851KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_html_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete