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)

Nordinho 10-28-2004 08:03 PM

I got it showing now!!...don't know how, but it is showing (and breaking the layout :( worries for later)...

The permissions seem to change though each time I save them, I guess because of the double values...

Snow 10-28-2004 08:20 PM

I'm still trying to get it to work. :tired: :(

Swedie 10-28-2004 08:38 PM

I don't have that //Reputation thingy you guys have. I'm using vb3.0.0 RC2. Maybe it doesn't have the Reputation thingy all working.

I once again updated the .SQL file with some changes to the INSERTS for all the phrases. I put a different language ID in there...

If you don't get the lanuage to display, go into mysqlcc or phpmyadmin and change the field languageid to '0' instead of '-1'. That should make it work.

Nordinho 10-28-2004 09:27 PM

I'm using vb3.0.3, do you know a way to change those values??

Swedie 10-28-2004 10:15 PM

Quote:

Originally Posted by Nordinho
I'm using vb3.0.3, do you know a way to change those values??

I just told you a way to do it. But I'll repeat :)

You need PHPMYADMIN or MySQLcc. List the content of the table called "phrase". Then change the values by hand.

To quicker find the last added phrases type this as a SQL command:
SELECT * FROM phrase ORDER BY phraseid DESC LIMIT 30

This will show the last 30 added phrases. Now go through them one by one.

Nordinho 10-28-2004 10:47 PM

Quote:

Originally Posted by Swedie
I just told you a way to do it. But I'll repeat :)

You need PHPMYADMIN or MySQLcc. List the content of the table called "phrase". Then change the values by hand.

To quicker find the last added phrases type this as a SQL command:
SELECT * FROM phrase ORDER BY phraseid DESC LIMIT 30

This will show the last 30 added phrases. Now go through them one by one.

Thanx for your fast replies Swedie, but I actually meant the other values, since they seem to be conflicting...

Quote:

'canuseguestbook' => 262144,
'canusewebpage' => 524288,
'canseehiddencustomfields' => 1048576,

// Reputation

'canseeownrep' => 256,
'canuserep' => 524288,
'canhiderep' => 1048576,
'cannegativerep' => 2097152,
'canseeothersrep' => 4194304,
'canhaverepleft' => 8388608,
);

Swedie 10-28-2004 11:15 PM

Quote:

Originally Posted by Nordinho
Thanx for your fast replies Swedie, but I actually meant the other values, since they seem to be conflicting...

those values are nothing special. As you can see the next value should have the double number of the one before. Do the math and you should have no problem fixing your problem.

But here is how yours should look

PHP Code:

'canuseguestbook' => 262144,
'canusewebpage' => 524288,
'canseehiddencustomfields' => 1048576,

// Reputation

'canseeownrep' => 256,
'canuserep' => 2097152,
'canhiderep' => 2097152,
'cannegativerep' => 4194304,
'canseeothersrep' => 8388608,
'canhaverepleft' => 16777216
); 

notice WITHOUT the , after the last array / number.

Nordinho 10-28-2004 11:29 PM

Quote:

Originally Posted by Swedie
those values are nothing special. As you can see the next value should have the double number of the one before. Do the math and you should have no problem fixing your problem.

But here is how yours should look

PHP Code:

'canuseguestbook' => 262144,
'canusewebpage' => 524288,
'canseehiddencustomfields' => 1048576,

// Reputation

'canseeownrep' => 256,
'canuserep' => 2097152,
'canhiderep' => 2097152,
'cannegativerep' => 4194304,
'canseeothersrep' => 8388608,
'canhaverepleft' => 16777216
); 

notice WITHOUT the , after the last array / number.

It looks like that did the trick!!! thanks again Swedie for the great support!!!

rex_b 10-29-2004 01:58 AM

so does this thing work for 3.0.3 or not?

Snow 10-29-2004 06:30 AM

Thanks Sweedie, changing the array has sorted out the problems I was having with usergroup permissions.

rex_b I'm using vb3.0.3 but I can't seem to be able to get it to work. So far, I've managed to get everything in the admin CP to work, going to /profile.php?do=editguestbook and /profile.php?do=editwebpage manually takes me to the edit pages, but I can't view either the guestbook or the webpage in the profile and the links are not visible in the user CP for some mysterious reason. I'll post here if I do eventually get it to work. :disappointed:


All times are GMT. The time now is 05:13 AM.

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.01837 seconds
  • Memory Usage 1,763KB
  • 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_php_printable
  • (5)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