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)

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? ;)


All times are GMT. The time now is 01:23 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.04038 seconds
  • Memory Usage 1,766KB
  • 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
  • (8)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