vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBcustompage 1.0 (https://vborg.vbsupport.ru/showthread.php?t=41616)

Mithan 07-30-2002 04:26 AM

Ok another question.

How would I modify the code so that this will work from the postbit template? Ie- show right up on the forums itself, without requiring a user to click on your name before he can access your site?

You can see my forums here:
http://www.ac2hq.com/forum/showthrea...&threadid=2286

What I would like to do is under a persons name on the left side, put the Custom Page link. If I do it now, nothing shows up.

Any tips?

ripman 07-30-2002 07:31 AM

If you have any problems I suggest to reinstall whole hack :P Mayby you missed the instruction eg. REPLACE instead of BELOW.

At the second time everything works fine exept that damn non-registered users access. Blah...

Chris M 07-30-2002 09:03 AM

Then...

You either havent removed that code, or you dont allow Guests to do much...

@Mithan...

Change this below, from yoursite.com/forums to the path to your boards...

Code:

<a href="http://www.yoursite.com/forums/member.php?s=&action=getcustompage&userid=$userid">Custom Page</a>
You can format it how you like:)

Then, in the posbit template, find :
Code:

$post[usertitle]
And below it add the code from above...

Satan

DemiNeo0101 07-30-2002 01:16 PM

i have a feeling its conflicting with a hack i allready have installed. B/c i re-installed, but still a no go.

Mithan 07-30-2002 02:35 PM

Hellsatan:

Thanks, that didnt work though. I had to change it to this:
Quote:

<a href="http://www.ac2hq.com/forum/member.php?s=&action=getcustompage&userid=$post[userid]">Custom Page</a><br>
the $userid didnt work, needed to change to $post[userid]

Again, thanks.

Chris M 07-30-2002 06:58 PM

Ah right...

I thought that wouldnt work as just $userid...

Satan

Velocd 07-30-2002 09:07 PM

@mithan, use this if you want their page name to show up:

Code:

<a href="http://www.ac2hq.com/forum/member.php?s=&action=getcustompage&userid=$post[userid]">$post[custompagename]</a>
You can also use $post[custompageviews], to display that users hits for their page.


Quote:

Originally posted by DemiNeo0101
i have a feeling its conflicting with a hack i allready have installed. B/c i re-installed, but still a no go.
The major areas that a mistake could be caused is in the members.php. So by chance in one of the areas that require you to select a large amount of code then replace it with the code I gave, you could have overwrited another hack maybe. This calls for you doing it manually then, since most of the time I only added a variable or something within the code.

Thewnagchung 07-30-2002 09:25 PM

HEY VELOCD! its me Jeff :D

i may add this to VGT ;)

KnightDebonair 07-30-2002 10:42 PM

well, i'm a poster at his website and I've messed with that hack first hand :D. I know nothing about html but it wasn't too hard to get the basics through a post he made, it would be awesome if that hack had a quick FAQ link to the side, just telling the basics of HTML, it didn't but luckily velocd posted them so it was ok.

anyways, thats all ^^;

Kumaro 07-31-2002 02:42 AM

This hack is just what I have been looking for, except i stilll can't use it because none of the users know any html at all. It would be great if this hack had three different sections for the user to fill out; such as an image field, a body text 1 field, and a body 2...

just a suggestion..amazing hack.


All times are GMT. The time now is 01:04 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.01261 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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