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)

Creed 02-25-2005 10:16 AM

Well, I got half of it done. With the nice little add-on I just made you can now edit your member's webpages (considering you're logged in as Administrator) One file edit, and two template edits. Not difficult at all ;)

Lizard King 02-25-2005 01:37 PM

I think I found a small bug. If you move your avatars from database to filesystem then in guestbook it only displays users own avatar. It supposed to show entry writers avatar. Does anyone know how we can fix this ?

T3MEDIA 02-25-2005 08:15 PM

Quote:

Originally Posted by Creed
Heh, I don't know about that, but I wouldn't mind giving it a shot ;)

You... You are a very nice man... or woman. I dont know but BLESS YOU.
No... all talk and vb fakeness aside. Thank you.

I had no idea how to do this in any shape or form. Thank you.

Now just to get this guestbook bug fixed.

T3MEDIA 02-25-2005 08:31 PM

Quote:

Originally Posted by Creed
Well, I got half of it done. With the nice little add-on I just made you can now edit your member's webpages (considering you're logged in as Administrator) One file edit, and two template edits. Not difficult at all ;)

screen is just white. No error though. and I do see the link.

Lizard King 02-25-2005 08:35 PM

Quote:

Originally Posted by T3MEDIA
screen is just white. No error though. and I do see the link.

Creed has just released an addon hach check here

Creed 02-26-2005 10:29 AM

Yeah, it was a simple typo sorry. Just change your adminmodifywebpage template to adminmodify_webpage. Thats it ;)

Creed 02-26-2005 11:12 AM

I've also updated the standalone hack. If you have it installed already, upgrading is very easy. Replace webpage.php, and open WEBPAGE template, and replace the contents with the information in the instructions.

Creed 02-26-2005 11:16 AM

Quote:

Originally Posted by T3MEDIA
Can I BEG you to have access so the admin can edit users pages.
and that fix for the undeleteable guestbook? I BEG OF YOU.
has something to do with secondary usergroups and or reputations.... new users I can delte... older no go.

What exactly is not working with deleting of guestbook entries? If I could get a little further explanation, I may be able to help out more :)

Swedie 02-26-2005 02:13 PM

Yo guys! What's up guys! Here I leave for a while and I see new addons released and hacks and damn. :) Glad many enjoy my little creation. I have been swamped with crap to do that I get payed for to do. So this script has been left in the behind because of it. I will am still running it live on my own very large community and have had no troubles with it.

Can someone please summarize in detail with explainations what you all want done?

I'll start:
  • Optimize the code
  • Fail safe deletion of guestbook entries
  • Admin ability to remove / edit user webpages

I'll take a look at this right now.

What are the bugs so far? I don't know really. Very loose stuff I've read. So please bring evidence using screenshots or sumfin! thanks

What more features would you all like? I'm sure I can put some time towards improving the script. A carrot helps though...

Swedie 02-26-2005 02:16 PM

btw guys! I do not have version 3.0.7. Haven't afforded it... gotta have it before I support any new version after 3.0.3. That I will make this script work for as of now. thanks

Swedie 02-26-2005 04:32 PM

One problem I haven't covered is that the Profile page often cache information. Many times have I been contacted by members of my site where they're saying they can't upload new profile pictures. I always tell them to go to their profile page and hit the Refresh button. This is almost always returned with a "oh I'm so stupid"-reply. But it's just a heads up for you all. Not calling you all stupid! :)

???`S?LV?R???` 02-26-2005 06:21 PM

Quote:

Originally Posted by Swedie
One problem I haven't covered is that the Profile page often cache information. Many times have I been contacted by members of my site where they're saying they can't upload new profile pictures. I always tell them to go to their profile page and hit the Refresh button. This is almost always returned with a "oh I'm so stupid"-reply. But it's just a heads up for you all. Not calling you all stupid! :)

Is this going to be fixed anytime soon? Oh yeah, and reguarding 3.0.7, hopefully it works with that cause I plan to probly install this later today or atleast attempt to.

Swedie 02-26-2005 07:06 PM

Quote:

Originally Posted by ???`S?LV?R???`
Is this going to be fixed anytime soon? Oh yeah, and reguarding 3.0.7, hopefully it works with that cause I plan to probly install this later today or atleast attempt to.

My script is hopefully not affected. I am just mentioning the fact that the profile page is cached differently.

regarding use with 3.0.7. Yes, others have posted that they have got it to work. It is not that fundamentally different from 3.0.3 that i know it works with.

Creed 02-26-2005 08:50 PM

Well, I know it works fine with 3.0.6. I haven't installed 3.0.7 either, so I'm not sure.

Lizard King 02-26-2005 09:35 PM

I have it working on 3.0.7
The only bug i think is when you upgrade your board somephrases are missing and you have to install them again.

Also as I write previously when you move avatars to file system there is a bug in guestbook. Check it from screenshot. All entries are from different members but as you can see their avatars are seen as my avatar :)

Swedie 02-26-2005 10:06 PM

Quote:

Originally Posted by Lizard King
I have it working on 3.0.7
The only bug i think is when you upgrade your board somephrases are missing and you have to install them again.

Also as I write previously when you move avatars to file system there is a bug in guestbook. Check it from screenshot. All entries are from different members but as you can see their avatars are seen as my avatar :)

Thank you! Bug fixed and will be included in next version.

*general bugs fixed
*I've made the appearance to go along with the CSS styles rather than setting your own through the control file, which will be kept, just not control coloring and such all that much.

I'm done for tonight but will work some more on it tomorrow. gonna make a new admin area i believe.. we'll see how i solve the ability to edit webpage content for admins.

Creed 02-26-2005 10:07 PM

Heh, I've got my way (although crude) to edit webpages as Admin. If you're gonna make an update to this hack, I'd be happy to remove my add-on :)

Swedie 02-27-2005 08:31 AM

Quote:

Originally Posted by Creed
Heh, I've got my way (although crude) to edit webpages as Admin. If you're gonna make an update to this hack, I'd be happy to remove my add-on :)

Yes, I will tune it up good so there's no need for it. Thanks for helping out the users while they've been waiting for me. Uh! that felt special to say. :p

Swedie 02-27-2005 10:11 AM

Just to update you all. Now that I've made many CSS changes everything flows better with the default vB design that you might have. Looks great.

Creed 02-27-2005 10:19 AM

Looks great, hope the new version is released soon!

Swedie 02-27-2005 11:07 AM

Okay I am done with the admin edit feature. It is very simple, but it does its job. Nothing more. It is raw format edit. So this means you do not have the vBcode functions. It is not ment for admins to construct webpages while editing pages anyways. :)

I've named the feature "Quick Edit" and it is accessable straigth from the member's webpage (clickable button below page).

Lizard King 02-27-2005 12:38 PM

Quote:

Originally Posted by Swedie
Okay I am done with the admin edit feature. It is very simple, but it does its job. Nothing more. It is raw format edit. So this means you do not have the vBcode functions. It is not ment for admins to construct webpages while editing pages anyways. :)

I've named the feature "Quick Edit" and it is accessable straigth from the member's webpage (clickable button below page).

Swedie if you want to test the codes in 3.0.7 just send me a pm i'll pass you admin pass ftp pass etc... So you can test it :) I loved the guestbook colors :)

T3MEDIA 02-27-2005 05:47 PM

Quote:

Originally Posted by Swedie
Just to update you all. Now that I've made many CSS changes everything flows better with the default vB design that you might have. Looks great.

darn I installed creed's version. can we some how keep some kind of standard between the two???
also with the update can we have some type of version so we know what "update" your talking about?

and the dreaded guestbook bug. Would love to see this working.

Creed 02-27-2005 06:10 PM

If you've installed mine, and want to update to her version, no problem. I can supply you with a de-installation guide ;) Looks great Swedie, keep up the good work!

Swedie 02-27-2005 07:39 PM

Quote:

Originally Posted by T3MEDIA
darn I installed creed's version. can we some how keep some kind of standard between the two???
also with the update can we have some type of version so we know what "update" your talking about?

and the dreaded guestbook bug. Would love to see this working.

No I won't support any addon made. I am making my own.

Guestbook problem eh! Thing is, I have deleted, edited. Use messed up characters etc etc.. and NOTHING is having it fail. So please tell me what you are doing and what is wrong. use screenshots.

v1.0.2 is to be released.

Upgrade instructions from current v1.0.1 to v1.0.2 will be included.

It is a simple upgrade.

Swedie 02-28-2005 07:25 AM

Quote:

Originally Posted by Detomah
Think this could possibly be a bit of a bug that i've found, not sure if anyone else is suffering it or it could be confirmed that i've either gone mad or it is actually happening.

Basically:

Write a message in a guestbook and confirm it, then basically refresh and it is duplicated, if a user refreshes over and over, the message can be duplicated sever times in quick succession, which also sends a pm every time too.

I can delete guestbook messages no problem, but i;ve had to disable the guestbook featur for the moment, until I can either get a fix for this or until I am told I have gone mad.

Besides that, super hack. :)

Incase anyone wonders, THIS "issue" here has been taken care of just now. :)

//EDIT: Only for Gb post, edit and removal of posts.

Creed 02-28-2005 07:34 AM

Glad to hear more updates are coming soon!

T3MEDIA 02-28-2005 08:52 PM

Quote:

Originally Posted by Swedie
No I won't support any addon made. I am making my own.

Guestbook problem eh! Thing is, I have deleted, edited. Use messed up characters etc etc.. and NOTHING is having it fail. So please tell me what you are doing and what is wrong. use screenshots.

v1.0.2 is to be released.

Upgrade instructions from current v1.0.1 to v1.0.2 will be included.

It is a simple upgrade.

Screenshot? Well its a guestbook and you can not remove the entry.
Screenshot wont do you any thing. I am not the only user that stated it doesnt work.

laeth 03-01-2005 01:35 AM

<a href="http://gothtopic.com/forum/member.php?userid=2" target="_blank">http://gothtopic.com/forum/member.php?userid=2</a>

Is there anyway to set how large the tables are? They seem to be larger than what we have the forum set to, and it looks out of place.

Thanks.

Swedie 03-01-2005 06:05 PM

Quote:

Originally Posted by T3MEDIA
Screenshot? Well its a guestbook and you can not remove the entry.
Screenshot wont do you any thing. I am not the only user that stated it doesnt work.

Then I can't help if you can't describe it better than that.

Are you using odd characters? Do you have some special server setup?

i'll take a look at the code to see if I can improve it. But since I have had no trouble at all on my own community... i see it as being a server related issue (config).

Swedie 03-01-2005 06:05 PM

Quote:

Originally Posted by laeth
http://gothtopic.com/forum/member.php?userid=2

Is there anyway to set how large the tables are? They seem to be larger than what we have the forum set to, and it looks out of place.

Thanks.

Requires registration...

Acido 03-02-2005 05:58 PM

After Upgrade to 3.0.7 i loss the Option (Under Vbulletín Options) "Guestbook / Webpage Preferences" and the hack is not working.

I'm sure that all templates, and files edits are OK. Can you tell me what query i need run again to have this hack working ?

Thanx in advance.

Lizard King 03-02-2005 07:44 PM

Quote:

Originally Posted by Acido
After Upgrade to 3.0.7 i loss the Option (Under Vbullet?n Options) "Guestbook / Webpage Preferences" and the hack is not working.

I'm sure that all templates, and files edits are OK. Can you tell me what query i need run again to have this hack working ?

Thanx in advance.

Run this queries
Code:

INSERT INTO `settinggroup` (grouptitle, displayorder, volatile) VALUES ('guestbookwebpage', 199, 1);

INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('allowguestbook', 'guestbookwebpage', '1', '1', 'yesno', 10, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('allowwebpage', 'guestbookwebpage', '1', '1', 'yesno', 20, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('guestbooksmilies', 'guestbookwebpage', '1', '1', 'yesno', 30, 0, 1);
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);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpagesmilies', 'guestbookwebpage', '1', '1', 'yesno', 60, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpagevbcodeorhtml', 'guestbookwebpage', 'vbcode', '1', '<select name=\\"setting[$setting[varname]]\\" tabindex=\\"1\\" class=\\"bginput\\">\n<option value=\\"vbcode\\" " . iif($setting[\'value\']==\'vbcode\',\'selected="selected"\') . ">$vbphrase[wg_vbcode]</option>\n<option value=\\"html\\" " . iif($setting[\'value\']==\'html\',\'selected="selected"\') . ">$vbphrase[wg_html]</option>\n</select>', 70, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('allowedhtmltags', 'guestbookwebpage', '<hr><a><br><b><h1><h2><h3><h4><i><img><li><ol><p><strong><table><tr><td><th><u><ul><font><b><div><center>', '<a><br><b><h1><h2><h3><h4><i><img><li><ol><p><strong><table><tr><td><th><u><ul><font><b><div><center>', 'textarea', 80, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('webpageadvanced', 'guestbookwebpage', '1', '1', 'yesno', 90, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('gb_notification', 'guestbookwebpage', 'pm', 'pm', '<select name=\\"setting[$setting[varname]]\\" tabindex=\\"1\\" class=\\"bginput\\">\n<option value=\\"no\\" " . iif($setting[\'value\']==\'no\',\'selected="selected"\') . ">$vbphrase[wg_no]</option>\n<option value=\\"pm\\" " . iif($setting[\'value\']==\'pm\',\'selected="selected"\') . ">$vbphrase[wg_sendpm]</option>\n<option value=\\"email\\" " . iif($setting[\'value\']==\'email\',\'selected="selected"\') . ">$vbphrase[wg_sendemail]</option>\n</select>', 100, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('gb_showavatar', 'guestbookwebpage', '1', '0', 'yesno', 110, 0, 1);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('gb_avatarheight', 'guestbookwebpage', '50', '50', '<input name=\\"setting[gb_avatarheight]\\" size=1 class=\\"bginput\\" value=\\"".$setting[\'value\']."\\">', 120, 0, 1);


Acido 03-02-2005 08:33 PM

That's Work Perfectly.

Thanx Amigo :)

cdoyle 03-05-2005 12:11 AM

I'm trying to install it, and when I run the insert.sql this is the error I get

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

Does anyone know what I"m doing wrong?

cdoyle 03-05-2005 11:55 PM

Anyone have any ideas why I keep getting that error?

Swedie 03-06-2005 08:20 PM

Quote:

Originally Posted by cdoyle
I'm trying to install it, and when I run the insert.sql this is the error I get


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



Does anyone know what I"m doing wrong?

The insert should look like this:
Quote:

CREATE TABLE `user_webpage` (
`userid` int(11) NOT NULL default '0',
`name` varchar(100) default '',
`description` varchar(255) default '',
`text` text,
`lastupdate` varchar(20) default '',
`bordersize` smallint(6) NOT NULL default '5',
`bordercolor` varchar(10) NOT NULL default '#EDF0FF',
`bgcolor` varchar(10) default '#FFFFFF',
`fontface` varchar(100) NOT NULL default 'Arial, Helvetica',
`fontcolor` varchar(10) NOT NULL default '#000000',
`fontsize` char(3) NOT NULL default '2',
`vbcodeorhtml` varchar(10) NOT NULL default 'vbcode',
`usesmilies` smallint(6) NOT NULL default '1',
`hits` int(11) NOT NULL default '5',
PRIMARY KEY (`userid`)
) TYPE=MyISAM;
What are you running this SQL command through? I hope it is not the vBulletin area.

Swedie 03-06-2005 08:22 PM

I have identified a bug with the current version. If you post a ' (that character) and tries to post anything again in that guestbook it won't enter, so don't do that for now. The new version will have this issue resolved.

I am testing version 1.0.2 on my own site and I'm just collceting a bit more input before releasing it to you all.

cdoyle 03-06-2005 10:22 PM

Ya I was trying to use the admin area, I used myphp and got it to work.

but doh, just noticed your post about hte bug in 1.01.
Hopefully it will be easy to upgrade from 1.0.1 to 1.0.2

thanks again for this hack, it's great!!

Swedie 03-07-2005 09:48 AM

Quote:

Originally Posted by cdoyle
Ya I was trying to use the admin area, I used myphp and got it to work.

but doh, just noticed your post about hte bug in 1.01.
Hopefully it will be easy to upgrade from 1.0.1 to 1.0.2

thanks again for this hack, it's great!!

Yes, very easy. Just a few replacement codes and new templates.


All times are GMT. The time now is 12: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.02534 seconds
  • Memory Usage 1,858KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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