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)

Velocd 07-29-2002 10:24 PM

PHP Code:

if ($bbuserinfo[posts]<300 && $bbuserinfo[usergroupid] != 6) { 

;)

Lionel 07-29-2002 10:31 PM

Quote:

Originally posted by DemiNeo0101


i get the same exact thing. I have that getinfo_custompage template and i ran the mysql querys.

im useing vb 2.2.6

did you solve that problem?

Velocd 07-29-2002 10:53 PM

As mentioned before, it is probably a mistake some of you are making. For some people who have installed this hack they say it works perfectly, while a few people are reporting a blank page being shown up. The instructions are quite lengthy, so just make sure you go carefully through it. I have it installed and it works fine.

I'll go through the instructions again to insure nothing is missing.

Velocd 07-29-2002 11:11 PM

Could anybody who is recieving the blank page tell me if it is a complete blank page (pure white), or if the blank page consists only of the $header, and $footer visible elements.

Lionel 07-29-2002 11:15 PM

Quote:

Originally posted by Velocd
Could anybody who is recieving the blank page tell me if it is a complete blank page (pure white), or if the blank page consists only of the $header, and $footer visible elements.
just a blank page, no header, no footer, not even a page TITLE

Velocd 07-30-2002 03:07 AM

Strange...I couldn't find anything wrong with the instructions either, so I'm blank on what the problem could be right now.

Jalrock 07-30-2002 03:12 AM

just a dummy point of view but what happens if you dont remove the space from the first and second color thing?

Mithan 07-30-2002 03:13 AM

Quote:

Now for the somewhat annoying parts. Find:

$cpnav[7]="#1C5780";


And place below it:

PHP:

$cpnav[8]="#1C5780";

Sorry, bud, but I cant find a any #1c5780 in my members.php file.

This is what my one area looks like:
// draw cp nav bar
$cpnav[1]="{secondaltcolor}";
$cpnav[2]="{secondaltcolor}";
$cpnav[3]="{firstaltcolor}";
$cpnav[4]="{secondaltcolor}";
$cpnav[5]="{secondaltcolor}";
$cpnav[6]="{secondaltcolor}";
$cpnav[7]="{secondaltcolor}";
$cpmenu[9]="class=\"fjsel\" selected";
eval("\$cpnav = \"".gettemplate("usercpnav")."\";");


All mentionings of CPNav are with that secondaltcolor.

So what do I do?
Put $cpnav[8]="#1C5780"; UNDER the $cpnav[7]="{secondaltcolor}"; lines?

Thanks.

Mithan 07-30-2002 03:40 AM

++++, nevermind... I see what you meant lol

Velocd 07-30-2002 04:22 AM

I'll make a reminder to myself to change the instructions and make those hexidecimal values to {secondaltcolor }

See if you type {secondaltcolor } without the space in a post on vB.org, and any vBulletin forum, it will replace it with whatever color is in the replacement thingy.

As for leaving {secondalotcolor } that way, it will just screw the colors up, usually making it a neon green or something, I can't remember. So be sure to remove that space.

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.

Kenji Wing 07-31-2002 07:19 AM

very nice hack my users love it!

Velocd 07-31-2002 10:38 PM

Quote:

Originally posted by Kumaro
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.

That is very well possible, and being that I am bored up here in Mt. Shasta maybe I'll do it :D
It'll make it easier for those who don't know HTML, and for those who are alittle concerned letting users have it on the forum.

The only thing is, it would be a set template that everyone would have to use, meaning..everypage would have the same layout, just different content.

xug 08-01-2002 01:42 AM

Quote:

Originally posted by Velocd


That is very well possible, and being that I am bored up here in Mt. Shasta maybe I'll do it :D
It'll make it easier for those who don't know HTML, and for those who are alittle concerned letting users have it on the forum.

The only thing is, it would be a set template that everyone would have to use, meaning..everypage would have the same layout, just different content.

This option would make me install it with an option that I can select which usersgroup(s) can use it or not.

Okiewan 08-20-2002 03:56 PM

This hack caused a problem... can't update member files via ACP... acts like it's taking a change, but is not writting the info to the member table. I uploaded my original user.php to the admin directory and it fixed the problem.

Erwin 08-21-2002 02:02 AM

Installed, and working well. I made some minor changes cosmetically. Thanks. :)

Keyser S?ze 08-25-2002 12:00 AM

anyone help me out,

in the admin cp, i want a link that says "edit users page" in there users description, maybe right above "remove user"

and that takes u to where u can edit the page

having it under the signature looks sloppy IMO

besides that this hack ownz, only wish it could use vB code and smilies

Keyser S?ze 08-25-2002 09:28 PM

i dont think this has been requested, but how about a top(X) pages, like by number of views, or better yet number of votes

Dean C 08-27-2002 12:53 PM

this conflicts with firefly's vbpad hack... because i already have

PHP Code:

$cpnav[8]="{ secondaltcolor}"

in all the things files you have to add it to...

what do i do to make it work "alongside" the vbpad :D?

- Mist

Preech 08-29-2002 07:31 PM

I got a question. When I'm in the admin cp, when I got to edit user....It won't let me, can anyone help me with the answer.

Chris M 08-31-2002 02:40 PM

Did you do the sql queries?

@Velo - I have an idea...

If you go to my site, and try and view a page for someone who has not got one, like userid 70, it just shows up as a Page with no Content...

Is there a way to make the page check for firstly their post count, and if it is under 300, it displays a Default Page...If it is over 300, it can check for a certain number of characters or something?

That way it would look less Blank;)

Satan

Velocd 09-06-2002 02:40 AM

@HellSatan:

It really shouldn't be doing that...as I last recalled, I put a check in there to insure that when a member views another member page although they don't have one, it's suppose to give an error.

I don't really have the time right now to supply some of the add-ons requested, but anyone here is fully welcome to tamper with the source ofcourse and create your own add-ons. Go ahead and release them on vB.org if you like.
;)

ryans 11-07-2002 07:30 PM

Quote:

Originally posted by Velocd
As mentioned before, it is probably a mistake some of you are making. For some people who have installed this hack they say it works perfectly, while a few people are reporting a blank page being shown up. The instructions are quite lengthy, so just make sure you go carefully through it. I have it installed and it works fine.

I'll go through the instructions again to insure nothing is missing.

a blank page is from the space in the $cpnav[1]="{ secondaltcolor}";

they should remove all spaces from{ second...}

What i get is not enough post to use the system. i'm running the newest version of vbulletin. I did set the right values.

ryans 11-07-2002 07:32 PM

ok, i fixed my permission problem. was logged in as my test user, duh! :)

wolfe 11-15-2002 01:52 PM

have you got any previews

themonarch 11-22-2002 03:38 AM

Nice hack Velocd!

themonarch 11-24-2002 01:01 AM

Quote:

Originally posted by Kumaro
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.

mmm, yeah, that's exactly what I was thinking. Still, this is one great hack! :classic:

Freestyler 12-28-2002 09:04 PM

Is there any way to make it so that the link to the Custom Page shows in the postbit ONLY if the user actually has a Custom Page?

So that way people won't have to guess whether or not a user has a Custom Page, before they click the link?

Amazing hack btw, I love it :)

Solice 12-29-2002 12:44 AM

awesome hack ^_^

Freestyler 12-29-2002 08:24 AM

bump :classic:

Evil Chris 01-21-2003 03:25 PM

Installed. Works great, and my users love it.
Thanks VeloCD.


All times are GMT. The time now is 06:32 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.01327 seconds
  • Memory Usage 1,825KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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