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)

Swedie 11-26-2004 07:42 AM

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

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

Quote:

Originally Posted by Snow
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.
Code:

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

Quote:

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


All times are GMT. The time now is 01:08 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.02053 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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