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 03-30-2005 06:03 PM

Quote:

Originally Posted by concreteweb
Hi Swedie,

I'm sure I'm like the others, we have been waiting for this mod to be finished before we sent a donation. I clicked on "installed" many months ago but didn't install it until a few weeks ago. The inability to edit guestbooks and webpages easily has kept this particular mod under-wraps for us.

Looking forward to the updates! When it happens - you will see a paypal payment from my company.

True that. I will release the new version. It will hopefully be what you're all wanting, features and stability wise.

cdoyle 03-30-2005 09:22 PM

Quote:

Originally Posted by concreteweb
Hi Swedie,

I'm sure I'm like the others, we have been waiting for this mod to be finished before we sent a donation. I clicked on "installed" many months ago but didn't install it until a few weeks ago. The inability to edit guestbooks and webpages easily has kept this particular mod under-wraps for us.

Looking forward to the updates! When it happens - you will see a paypal payment from my company.

I'm in the same boat, I love this hack but I can't install it on my live forum until the edit feature is working. But as soon as that's fixed, I'll be installing it and sending some $ too you.

I really love this hack!!!

PixelFx 03-31-2005 12:45 AM

why not charge $15 for it, so you have more incentive to work on it, or by donation. Its a cool system and will ad value to our forums so I don't see any problem in paying a bit to have a clean working script like this. I'm sure others will agree.

Lizard King 03-31-2005 12:36 PM

Quote:

Originally Posted by PixelFx
why not charge $15 for it, so you have more incentive to work on it, or by donation. Its a cool system and will ad value to our forums so I don't see any problem in paying a bit to have a clean working script like this. I'm sure others will agree.

I totally disagree with this. vBulletin.org is for free vBulletin modifications. If he will not release this modification here it will not be known as much as it is known right now. Donation is something else buyt charging is totally something else and if it will be like that i'll choose to uninstall this mod and i believe lots of people will do the same.

T3MEDIA 03-31-2005 01:24 PM

Quote:

Originally Posted by Swedie
Sorry guys! Been very busy. And this script is really not generating any kind of money, so I won't dedicate all that much time on it.

I should have something wrapped up tonight, or possibly tomorrow.

Hey its all good but Swedie your going about this all wrong. If you want to generate money you cant upload on a free site and on top of it have a version that isnt working properly. I think if you stop and look at it from my view you will see that would not make money for you right?

And not to be rude but I even gave you my email to contact me off of vb.org remember? I PM'ed you and said if you can work directly on my site I would pay. I never heard back from you after you gave me your email.

So that made me decide to un-install the hack.

T3MEDIA 03-31-2005 01:33 PM

Updatting is going to be hard for you guys if he makes a new version that has a bunch of re-writes to the hack.

I dont know what version is what. I wish you guys the best of luck

Snow 04-02-2005 03:13 PM

Quote:

Originally Posted by cdoyle
I'm in the same boat, I love this hack but I can't install it on my live forum until the edit feature is working. But as soon as that's fixed, I'll be installing it and sending some $ too you.

I really love this hack!!!

Same here. Although our forum doesn't make money, if a hack is good we don't have a problem "donating" some money. The problem is that this hack should have gone through beta first, there were far too many problems in the early versions. Most people that would have been willing to donate uninstalled this hack a long time ago and there's an overall "dissapointed" feeling throughout this thread. It's a great idea and I've stuck with it and even found workarounds to the edit problems but it has taken up alot of my own time to get it working and it's still rather buggy. I'm patiently waiting for the update, but I'm sorry swedie, it's hard to make a donation for an unfinished hack.

frage 04-02-2005 06:24 PM

I'm willing to donate a hack,
if this hack is working without database crash und if it is work in all browsers, not only in IE
gustbook doesn't work for me,

webpage --- more than one day I spend to repair the html
because it is neither correct html nor xhtml
and

I'm not a good coder but hardcoded (false) html in php files
isn't necessary

I know that we have done this many years ago..
but today?!

also I've spent many time to use all my different styles in the templates

Sweedi
your idea is great
but
please take a look at some modification on the board here...
some with full installscripts
correct html and php code like jelsoft
and a full support service

best regards
frage

YLP1 04-03-2005 05:15 PM

Quote:

Originally Posted by Swedie
It works with vB3.0.0 as well. Only difference is the looks of init.php and usergroup.php. Here is how it looks with vb3.0.0.
Rest of the installation is the same.

I do suggest holding off. I have an update for this script now and it includes the WYSIWYG editor.


Hi everyone.... I am trying to install this mod but I can't figure out the INIT bitfields. I have read and reread the instructions and the posts but my INIT bitfields are different. Me being new to PHP and VB I cannot figure this out.

Here is what my field names for general permissions (vb version 3.0.07) looks like:

Quote:

// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
'canviewmembers' => 1,
'canmodifyprofile' => 2,
'caninvisible' => 4,
'canviewothersusernotes' => 8,
'canmanageownusernotes' => 16,
'canseehidden' => 32,
'canbeusernoted' => 64,
'canprofilepic' => 128,
'canseeraters' => 256, // Permission removed in 3.0.2 ## Maintain backwards compatibility with 3.0.0 and 3.0.1
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'canhaveguestbook' => 16777216,
'canhavewebpage' => 33554432,
'canviewwebpage' => 67108864,
'canviewguestbook' => 134217728,
'canpostguestbook' => 268435456,

// Reputation

'canseeownrep' => 256,
'canuserep' => 524288,
'canhiderep' => 1048576,
'cannegativerep' => 2097152,
'canseeothersrep' => 4194304,
'canhaverepleft' => 8388608,
);
Can someone tell me how to fix this to include this mods field numbers?

Any help is greatly appreciated.....( I am too young to have so much gray hair --- besides...gray hair on girls is not attractive LOL )

Flow Fusion 04-03-2005 05:26 PM

'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'canhaveguestbook' => 524288,
'canhavewebpage' => 1048576,
'canviewwebpage' => 2097152,
'canviewguestbook' => 4194304,
'canpostguestbook' => 8388608

You need to multiply by the number 2 I did it for you. Copy and paste I hope this helps.

YLP1 04-03-2005 06:00 PM

Quote:

Originally Posted by Flow Fusion
'caneditownusernotes' => 131072,
'canseehiddencustomfields' => 262144,
'canhaveguestbook' => 524288,
'canhavewebpage' => 1048576,
'canviewwebpage' => 2097152,
'canviewguestbook' => 4194304,
'canpostguestbook' => 8388608

You need to multiply by the number 2 I did it for you. Copy and paste I hope this helps.

I applied the numbers you provided but I get this error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in MISP\lpsforum\includes\init.php on line 815
Parsing functions.php Time before: 1112554915.89 Time after: 1112554915.94 Time taken: 0.054046869278

How do I fix this?

Also here is the blond moment of the day ( I am blonde so I can say that LOL)

How does one create a webpage or guestbook? I've looked the CP but no options there..... I went to this php "webgbset.php" but it's blank.

YLP1 04-03-2005 06:21 PM

I have a question... I just found this mod Webpage & Guestbook Standalone Hack
Author: Creed (Daniel Caldwell) in this topic...... Which is the best to go with for my Community Website?

Flow Fusion 04-03-2005 07:20 PM

What does it say on line 815? And how the heck do I know which is best lol. I like both.

Snow 04-04-2005 10:44 AM

Quote:

Originally Posted by YLP1
I applied the numbers you provided but I get this error:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in MISP\lpsforum\includes\init.php on line 815
Parsing functions.php Time before: 1112554915.89 Time after: 1112554915.94 Time taken: 0.054046869278

How do I fix this?

looks like you had the right numbers the first time round. Flow Fusion must have missed the reputation bit at the end, that's a continuation of the previous and you need to continue from the last highest value. Tip: to keep things tidy, try to keep things in order, from smallest number to largest number, that way you will know whether you have duplicate values and if you need to add more for future hacks you'll know which number to start from. If you're using 3.0.6 or above and you've not added any values for other hacks in this section you should end up with something like this:
Code:

// field names for general permissions
$_BITFIELD['usergroup']['genericpermissions'] = array(
        'canviewmembers'          => 1,
        'canmodifyprofile'        => 2,
        'caninvisible'            => 4,
        'canviewothersusernotes'  => 8,
        'canmanageownusernotes'    => 16,
        'canseehidden'            => 32,
        'canbeusernoted'          => 64,
        'canprofilepic'            => 128,
        'canseeraters'            => 256, // Permission removed in 3.0.2 ## Maintain backwards compatibility with 3.0.0 and 3.0.1
        'canuseavatar'            => 512,
        'canusesignature'          => 1024,
        'canusecustomtitle'        => 2048,
        'canseeprofilepic'        => 4096,
        'canviewownusernotes'          => 8192,
        'canmanageothersusernotes' => 16384,
        'canpostownusernotes'      => 32768,
        'canpostothersusernotes'  => 65536,
        'caneditownusernotes'      => 131072,
        'canseehiddencustomfields' => 262144,

        // Reputation

        'canseeownrep'            => 256,
        'canuserep'                => 524288,
        'canhiderep'              => 1048576,
        'cannegativerep'          => 2097152,
        'canseeothersrep'          => 4194304,
        'canhaverepleft'          => 8388608,
       
        // guestbook and webpage
       
        'canhaveguestbook'        => 16777216,
        'canhavewebpage'          => 33554432,
        'canviewwebpage'          => 67108864,
        'canviewguestbook'        => 134217728,
        'canpostguestbook'        => 268435456,
);

As Flow Fusion mentioned, the next value in the series is double that of the previous value.... hence why it's best to keep things in order.

Quote:

Also here is the blond moment of the day ( I am blonde so I can say that LOL)

How does one create a webpage or guestbook? I've looked the CP but no options there..... I went to this php "webgbset.php" but it's blank.
You should get the hack completely installed first.

Snow 04-04-2005 10:47 AM

Quote:

Originally Posted by YLP1
I have a question... I just found this mod Webpage & Guestbook Standalone Hack
Author: Creed (Daniel Caldwell) in this topic...... Which is the best to go with for my Community Website?

I believe Creeds hack requires this hack to be installed and his hack is an add-on to this one.

YLP1 04-04-2005 05:25 PM

Thanks so much....the edits you gave me for the init.php worked...

So....I finished up the last two steps:

Quote:

Now to get this script to work!

!!IMPORTANT PART!! #1
GO INTO YOUR ADMINISTRATION AREA AND INTO LANGUAGE & PHRASES.
Search for: can_have_guestbook, open it. AND JUST SAVE IT! ...
now the phrase system has reloaded and everything (texts) SHOULD show correctly!

!!IMPORTANT PART!! #2
Go into vBulletin Options > Guestbook / Webpage Preferences. Click "Update". THIS IS REQUIRED FOR THIS SCRIPT TO WORK!
Go to your Usergroup Manager and apply new General Permissions settings for all the usergroup you have! THIS IS REQUIRED FOR THIS SCRIPT TO WORK!

If it still doesn't work. PLEASE report this in this thread:
https://vborg.vbsupport.ru/showthread.php?t=71065

Guide / Help

You will find settings under:
- vBulletin Options -
Guestbook / Webpage Preferences

- Usergroup -
Usergroup Manager
...edit Usergroup.
...under General Permissions
But when I go to http://yourlincolnpark.com/lpsforum/webgbset.php

The page is blank.

I went over all the edits again, checked that the insert.sql info was done and it all looked correct based on the instructions yet I can't get the webgset.php to work nor can I find where to access this mod.

Any help is greatly appreciated.
Robin

Snow 04-04-2005 05:59 PM

Quote:

Originally Posted by YLP1
Thanks so much....the edits you gave me for the init.php worked...

So....I finished up the last two steps:



But when I go to http://yourlincolnpark.com/lpsforum/webgbset.php

The page is blank.

I went over all the edits again, checked that the insert.sql info was done and it all looked correct based on the instructions yet I can't get the webgset.php to work nor can I find where to access this mod.

Any help is greatly appreciated.
Robin

webgbset is the "style sheet" for this hack, you will get a blank page if you view it in a browser. You need to open the file with something like wordpad or a html editor like dreamweaver. You'll see the list of settings such as background for the guestbook etc. and you can change these colours/settings to match your forum design. Hopefully in the next version, Swedie will have updated the styles issue so that this hack inherits the style from the forum, but in the meantime, webpgset is how you'll customise the style of this hack.

YLP1 04-04-2005 06:11 PM

Quote:

Originally Posted by Snow
webgbset is the "style sheet" for this hack, you will get a blank page if you view it in a browser. You need to open the file with something like wordpad or a html editor like dreamweaver. You'll see the list of settings such as background for the guestbook etc. and you can change these colours/settings to match your forum design. Hopefully in the next version, Swedie will have updated the styles issue so that this hack inherits the style from the forum, but in the meantime, webpgset is how you'll customise the style of this hack.


Where would a user go to add a webpage and guestbook? I don't find any links in the CP, etc.

Snow 04-04-2005 06:19 PM

Quote:

Originally Posted by YLP1
Where would a user go to add a webpage and guestbook? I don't find any links in the CP, etc.

The webpage and guestbook should appear in a member's profile page when they turn them on. Make sure you've allowed the usergroups you want to use this hack to actually use it by editing the permissions in the usergroup section of your adminCP, then head over to the userCP in the forum and you'll see the item in the left hand side menu of your userCP.

YLP1 04-04-2005 07:14 PM

Hi Snow...ok.... so far I can see Webpage Content and Guestbook settings in the CP. When I click on Webpage content it shows a form (which is huge); and allows me to put data in the fields but when I click update nothing happens.

Also, there is a error on this page (in status area of browser)
Line:35
Char:1
Error: Object Expected
Code: 0
url: http://www.yourlincolnpark.com/lpsfo...do=editwebpage

I went back through all the edits and tempaltes, etc. and confirmed all is correct and I went through the usergroup permissions, phrases, etc.

I screwed up somewhere but I can't figure out where. What do you think? ;)

Snow 04-04-2005 07:28 PM

Quote:

Originally Posted by YLP1
Hi Snow...ok.... so far I can see Webpage Content and Guestbook settings in the CP. When I click on Webpage content it shows a form (which is huge); and allows me to put data in the fields but when I click update nothing happens.

Also, there is a error on this page (in status area of browser)
Line:35
Char:1
Error: Object Expected
Code: 0
url: http://www.yourlincolnpark.com/lpsfo...do=editwebpage

I went back through all the edits and tempaltes, etc. and confirmed all is correct and I went through the usergroup permissions, phrases, etc.

I screwed up somewhere but I can't figure out where. What do you think? ;)

Is that error actually displayed on the page itself? :ermm:

Your permissions don't allow guests to see a member's profile page, is the guestbook or webpage actually showing on the member.php page? (See my page if you're not sure what I'm referring to). When you click Update it will stay on the same 'edit' page but your profile will (or should) have been updated.

YLP1 04-04-2005 07:58 PM

Hi Snow...mine looks NOTHING like yours.....mine just shows the form input fields. Your's looks AWESOME......How do I get mine to look like yours?

The screen shots show you the page error I am getting and what the screen looks like when I click on webpage content.

If I click the update button...the screen looks the same as it did before I clicked update button.

Snow 04-04-2005 08:23 PM

Quote:

Originally Posted by YLP1
Hi Snow...mine looks NOTHING like yours.....mine just shows the form input fields. Your's looks AWESOME......How do I get mine to look like yours?

The screen shots show you the page error I am getting and what the screen looks like when I click on webpage content.

If I click the update button...the screen looks the same as it did before I clicked update button.

The actual webpage and guestbook is located on the member.php page, whereas the form you are seeing is in your userCP, that's where you'll edit all your settings and add your webpage. As for internet explorer errors *shudder* ugh I don't use IE so I can't help you there.

Anyway, when you've set up your guestbook and entered your webpage, go to your profile page by clicking the "view my profile page" link that's on the right of the webpage form. You should see your webpage & guestbook there then, if not then either there's something wrong with your templates or you haven't set up the permissions correctly. It might help if you could allow guests to view profile pages or provide a test user login so that people here can check to see what's actually happening.

YLP1 04-05-2005 12:17 AM

I am bummed...I can't get this work....

Hmmm...maybe it's the Webpage & Guestbook Standalone Hack.... lemme try that.

Swedie 04-05-2005 01:05 PM

Sorry guys! Haven't had time to work on this script much. Roadracing season has begun. This script was from the beginning just an extra thingy for my own website and I didn't have the intention to make it a "public release", but after many requests I took some time to create and installation guide. It is a modification that requires changes to files and such, will therefor not make a "real installation" for it. I just don't have the time. I will put an indication in the first post in this thread to Note that this is an advanced modification.

Hopefully I will have this new version up in an hour. But I want to do some simple testings before I release it.

brb

Swedie 04-05-2005 01:10 PM

btw, thanks to everyone here for helping "newbies" (if I may call them that) that wants help installing the script.

PixelFx 04-05-2005 02:12 PM

can't wait to test it out :)

Swedie 04-05-2005 02:41 PM

There we go. I uploaded the latest version. I HOPE TO GOD that it works. If not, shoot me and tell me to go to hell.

Lizard King 04-05-2005 03:36 PM

I upgraded with no problem. Right now the guestbook is working ( i didn't check webpage cause i am not using it )
But when i wanted to edit a users guestbook entry i get this warning ant nothing changed :
Warning: Missing argument 1 for print_standard_redirect() in /includes/functions.php on line 2241
Also i get the same error when I wanted to edit my own entry for myself.
You can make an entry but you cannot edit it.

Swedie 04-05-2005 03:44 PM

Quote:

Originally Posted by Lizard King
I upgraded with no problem. Right now the guestbook is working ( i didn't check webpage cause i am not using it )
But when i wanted to edit a users guestbook entry i get this warning ant nothing changed :
Warning: Missing argument 1 for print_standard_redirect() in /includes/functions.php on line 2241
Also i get this error when I wanted to edit my own entry for myself.
You can make an entry but you cannot edit it.

Well that's just great isn't it. Sorry, I will take a look at this now. Taking down the download for now.

Lizard King 04-05-2005 03:47 PM

Swedie :) The guestbook colors are working right now :rolleyes: that's even a big step forward ;)

Benj 04-05-2005 04:09 PM

wheres the zip lol ??

Creed 04-05-2005 04:12 PM

Quote:

Originally Posted by Swedie
Well that's just great isn't it. Sorry, I will take a look at this now. Taking down the download for now.


Um, I think that explains it.

Benj 04-05-2005 04:18 PM

sorry missed that :P

Swedie 04-05-2005 05:00 PM

Fixed last little issue there. Sorry about that.

Download and test it. It should work. If not... like I said before. Slice me nice

Lizard King 04-05-2005 05:37 PM

Right now I dont get that error but unfortunately I cannot edit any guestbook entries even if I entered the entry.

YLP1 04-05-2005 06:12 PM

AWESOME!!!! FINALLY it's working on my site... Lizard FYI I testing the edit of the guestbook and the removal and both work for me... I have version 3.0.7.

But I did notice that it doesn't give the choice for VB or HTML....

Swedie 04-05-2005 06:27 PM

Quote:

Originally Posted by Lizard King
Right now I dont get that error but unfortunately I cannot edit any guestbook entries even if I entered the entry.

Trying out the edit function and I cannot get it to fail. I hope you copied and pasted everything .. and umh. Yeah. Darn. Wish it would work for you.

Swedie 04-05-2005 06:28 PM

Quote:

Originally Posted by YLP1
AWESOME!!!! FINALLY it's working on my site... Lizard FYI I testing the edit of the guestbook and the removal and both work for me... I have version 3.0.7.

But I did notice that it doesn't give the choice for VB or HTML....

Did you update the template for modify_webpage? Works for me.

Snow 04-05-2005 06:52 PM

Quote:

Originally Posted by Swedie
Trying out the edit function and I cannot get it to fail. I hope you copied and pasted everything .. and umh. Yeah. Darn. Wish it would work for you.

Swedie :nervous: :nervous: it's not working for me either, I still can't delete or edit entries, other than that, everything else looks OK at the moment. I can give you access to my forum if you don't believe me and you can try deleting/editing the entries yourself. BTW, I think it works if there's only one entry in the guestbook, it's when there's more than one that it doesn't work.


All times are GMT. The time now is 04:51 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.02813 seconds
  • Memory Usage 1,874KB
  • 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
  • (22)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