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)

Lionel 10-31-2004 06:52 PM

Some experience huh?

Swedie 10-31-2004 06:56 PM

StarBug, if he had not done that it would not show up at all. It has to do with the phrase not showing up for some weird reason.

StarBuG 10-31-2004 07:17 PM

Quote:

Originally Posted by Swedie
StarBug, if he had not done that it would not show up at all. It has to do with the phrase not showing up for some weird reason.

Na his problem was different.

Quote:

Originally Posted by rex_b
I don't even see the radio buttons. :(

I am no real phrase expert but I think you need to atleast add the phrase line twice like this:

INSERT INTO `phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '0', 'can_use_guestbook', 'Can use Guestbook?', 3);
INSERT INTO `phrase` (phraseid, languageid, varname, text, phrasetypeid) VALUES ('', '1', 'can_use_guestbook', 'Can use Guestbook?', 3);

Cause the problem is when you edit a phrase you have two boxes for text
(I have 2 languages installed so I have three. I don?t know if forums with only one laguage have the second box called "English (US) Translation") and you only enter the phrase text in the "Custom Phrase" field ( languageid = 0).
You need to add languageid = 1 also

His problem was the wrong location of:
Quote:

print_yes_no_row($vbphrase['can_use_guestbook'], 'usergroup[canuseguestbook]', $ug_bitfield['canuseguestbook']);
print_yes_no_row($vbphrase['can_use_webpage'], 'usergroup[canusewebpage]', $ug_bitfield['canusewebpage']);
If a user has a modified usergroup.php your line description for where to insert the code above doesn?t fit! And because the search text can be found in multiple places it?s easy to put the code in the wrong place.
That is why naming lines is not the way to use in install instructions ;)

He Propably put the code below
Quote:

if ($usergroupid > 7 OR $_REQUEST['do'] == 'add')
and above the "print_table_break();"

Greetings

StarBuG

Lionel 10-31-2004 07:56 PM

about the phrases, once you insert them, you have to go apply the update in CP by updating any phrase.

Swedie 10-31-2004 08:52 PM

Quote:

Originally Posted by Lionel
about the phrases, once you insert them, you have to go apply the update in CP by updating any phrase.

hmm, you sure? ... i gotta try this out.

Wordplay 10-31-2004 10:12 PM

yeah i had to do that too, but i had to do that on the other 2 hacks i installed that used new phrases as well. that's just the way to update all the phrases, by saving any.

StarBuG 11-01-2004 04:04 AM

Another nice litte feature addon would be if you could post a little image in the postbit if a user has a guestbook, like next to the IM Icons

Can you do that?

StarBuG

Swedie 11-01-2004 04:56 PM

Quote:

Originally Posted by StarBuG
Another nice litte feature addon would be if you could post a little image in the postbit if a user has a guestbook, like next to the IM Icons

Can you do that?

StarBuG

I'll write that down to include in a coming update.

Reeve of shinra 11-01-2004 05:25 PM

How customizable is this from a users perspective?

Loki12 11-01-2004 08:52 PM

I did a thorough test on the system today, and found that it is not completely working for me yet. :ermm:

The guestbook works perfectly, and shows on the member profile page.

The webpage does not work ... the edit page works, and it shows as an option in the usercp. But when I view the user profile after updating the webpage, I see nothing. Only the guestbook. :surprised:


All times are GMT. The time now is 04:59 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.01506 seconds
  • Memory Usage 1,740KB
  • 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