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)

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

Quote:

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

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.

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

Quote:

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

Quote:

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


All times are GMT. The time now is 09:15 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.01775 seconds
  • Memory Usage 1,847KB
  • 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
  • (21)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