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-19-2004 10:14 PM

An update to everyone! I just installed a Clean copy of vB3.0.3. I saw a couple of things thad had changed from version 3.0.0 Release Candidate 2 that i was using.

The changes has been uploaded to the new .ZIP file. Mostly it involves a couple of locations of lines in files that should be edit. I also noticed that the structure of some files has changed as well, making my installation script worthless.

I have NOT upgraded anything as far as HTML goes, or added any options. Just a new INSTALLATION INSTRUCTIONS file that should have most people understanding how to install this script.

Main "problem" i could see people is with the init.php file changes. THEREFOR I post MY VERSION of this, which is the CORRECT ONE FOR vB3.0.3 !

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,
'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,
'canuseguestbook' => 16777216,
'canusewebpage' => 33554432,
);
DO NOT USE FOR ANY OTHER VB VERSION!

NOW, important for those that CANNOT see the "Can use Webpage?" text under Usergroup Settings. GO INTO YOUR "PHRASE MANAGER". Locate by searching for "can_use_guestbook" and specify to search in 'phrase variable name only'. Now click on Edit for 'can_use_guestbook'. And click "Save".

DONE! This will make sure the text under Usergroup Manager pops up!

KTBleeding 11-20-2004 01:06 AM

Good to hear Swedie! I will try this out tomorrow morning. :)

KTBleeding 11-20-2004 03:31 PM

It works!!!!!!!

Very nice of you to update, Swedie. Unfortuneately until next friday I am very short on cash so I won't be able to send a donation for another week or so..

Now here is just me being picky. Is there anyway to display the user who left a message on the guestbooks avatar under their name?

Also, is there any way to have the guestbook/webpage turned on by default, so it shows up in the profile unless they disable it?

Thanks again Swedie, it worked first time install this time. :)

[high]* KTBleeding clicks install[/high]

ChuanSE 11-21-2004 07:58 AM

Swedie mate, first of all, congratz dude...
This is a great hack allright.

I have one request about it to make it perfect within vbulletin...

you use 2 parameters at the moment:
  • canuseguestbook
  • canuse webpage

this includes and "having" and "be able to post in" guestbook and having a webpage?

but to make this perfect we need the following set up :)
  • can view webpage
  • can view guestbook
  • can post guestbook
  • can have guestbook
  • can have webpage

If ya manage to make it like that, i'm ready for a nice donation ;)

ps: i need a vb php coder for a small job ;p

Scerina 11-21-2004 08:01 AM

Do you have one for a vb forum which is version 3.00????? I would luv to have this hack but I got an older version...v3

Swedie 11-21-2004 08:25 AM

Quote:

Originally Posted by Scerina
Do you have one for a vb forum which is version 3.00????? I would luv to have this hack but I got an older version...v3

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.

Quote:

INIT.PHP
// 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,
'canuseavatar' => 512,
'canusesignature' => 1024,
'canusecustomtitle' => 2048,
'canseeprofilepic' => 4096,
'canviewownusernotes' => 8192,
'canmanageothersusernotes' => 16384,
'canpostownusernotes' => 32768,
'canpostothersusernotes' => 65536,
'caneditownusernotes' => 131072,
'canuseguestbook' => 262144,
'canusewebpage' => 524288
);
Quote:

USERGROUP.PHP
$ug_bitfield = array(
'showgroup' => 1, 'canview' => 1, 'canviewmembers' => 1,
'canuseguestbook' => 1, 'canusewebpage' => 1,
'canviewothers' => 1, 'cagetattachment' => 1, 'cansearch' => 1,
'canmodifyprofile' => 1, 'canthreadrate' => 1, 'canpostattachment' => 1,
'canpostpoll' => 1, 'canvote' => 1, 'canwhosonline' => 1,
'allowhidden' => 1, 'showeditedby' => 1, 'canseeprofilepic' => 1,
'canusesignature' => 1
);
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.

Swedie 11-21-2004 08:56 AM

ChuanSE, I will do those things. I have an updated version of this script that would do well with those settings. it's a rather simple fix.

I have cleaned up both the PHP code and HTML pretty good.

KTBleeding, i'll see about making it default. If so, by Admin default. (yes or no to be default).

ChuanSE 11-21-2004 09:20 AM

gimme the stuff mate, i'll go paypal then ;)
no scam, i mean it ;)

influence 11-21-2004 10:40 AM

Quote:

Originally Posted by Swedie
ChuanSE, I will do those things. I have an updated version of this script that would do well with those settings. it's a rather simple fix.

I have cleaned up both the PHP code and HTML pretty good.

KTBleeding, i'll see about making it default. If so, by Admin default. (yes or no to be default).

hello,

are you going to post the updated version of this beautiful hack please?

also, is there anyway to include the bottom default vbulletin member info into your hack instead of them being below like that while your hack is at the top?

please let me know. i will see if i can donate something even though i dont wanna deal with paypal

Swedie 11-21-2004 02:13 PM

Quote:

Originally Posted by influence
hello,

are you going to post the updated version of this beautiful hack please?

also, is there anyway to include the bottom default vbulletin member info into your hack instead of them being below like that while your hack is at the top?

please let me know. i will see if i can donate something even though i dont wanna deal with paypal

not sure i completely understand what you mean. Try again.


All times are GMT. The time now is 12:37 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.01864 seconds
  • Memory Usage 1,757KB
  • 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
  • (6)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