View Full Version : Profile Change: Forum Info v1.4.1
King Kovifor
07-17-2005, 10:00 PM
Author: King Kovifor (me)
Hack Version: 1.0.0
Idea and "inspiration": Mythotical
Addons: None, but I'll be creating some soon.
Addon Authors: None
Support:
I will give support here again, but please use this thread (http://www.vbrenegades.com/showthread.php?t=45) for support if possible.
Introduction:
Profile Change: Forum Info is a hack that'll change the look and feel of your forum, by changing the profile of a user to have a nicer look and more informative information added. It was inspired by a change that Mythotical did so I give him some credit.
Notes:
There is 1 phrase edit, but none are added.
Please Report all bugs in this hack in this thread.
Version Updates:
1.0 - Initial Release: One Known Bug
1.1 - Bug Fixed
1.2 - Small Template Bug Fix
- 1.2.1 - New Information Added for the design. new version number for the 1.2 version series. Instructions, redone
1.3 - New Design
1.4 - Instruction Fix, Template Change, bug fixed.
- 1.4.1 - New Information Added for the desgin. new version number for the 1.4 series. instructions redone.
Bugs:
None.
Please report bugs here in this thread.
Instructions:
Please download the zipped file and follow the instructions there. All Support will be given in this thread.
Features:
It adds the user ID in the profile field
The Hack changes the way it displays posts per day.
It moves the "Forum Activity" and "Current Location" from the top of the profile page (in the Veiwing Profile: Username box) to the Forum Info.
You May gain extras through asking.
Screen Caps:
Picture 12 - This image is of 1.0.2 and three of the avatar section
Picture 11 - This is of the 1.0.2 design
Picture 3 - This is the 1.0.3 design
Picture thumbnail - What it is with 1.4.1 installed. Please note that that is not what contact information looks like and it doesn't have refferals.
Zero Tolernce's "Percentage of Forum Posts" Code:
If you've got the hack by Zero Tolerence you may follow these additional instructions.
Find this code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong><br />Posts per Day: <phrase 1="$postsperday"><strong>$vbphrase[x_posts_per_day]</strong></phrase>
Replace with this code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong><br />Posts per Day: <phrase 1="$postsperday"><strong>$vbphrase[x_posts_per_day]</strong></phrase> <br />Percentage of Posts on this forum belong to $userinfo[username]: <strong>$postpercentage%</strong>
That gives you the percent of forum posts in MEMBERINFO template with the same look to it. Don't foget to click install!
Jolten
07-18-2005, 08:53 PM
Demo? screenshots?
adamgessel
07-18-2005, 11:02 PM
Yeah... I want to see how this looks before I install...
King Kovifor
07-18-2005, 11:50 PM
Yeah, I was actually fixing something before I took screen shots. It was enough to release it with but the location of rank and reputation was mixed up. I'll be adding screenshots to the ZIP asap.
EDIT: I've got Zero Tolerence's hack installed so you'd notice that it's in there.
EDIT 2: Screenies added. You may now see it, but don't download and install yet. I've gotta fix the instructions.
EDIT 3: Instructions re-added. You may install. Please if you get an error report it and I'll give appropriate insturctions. I might have not deleted the zip on my desktop before uploading.
King Kovifor
07-21-2005, 01:12 PM
What should I do in order just to add the percentage of the posts and nothing else?
You mean you just want it to be JUST percent? Do the instructions for Zero Tolence's "Percent of FOrums Posts" and than add this code:
$vbphrase[total_posts]: <strong>$userinfo[posts]</strong><br />Posts per Day: <phrase 1="$postsperday"><strong>$vbphrase[x_posts_per_day]</strong></phrase> <br /><strong>$postpercentage%</strong>
That just gives the percent of posts. If you'd like it to have the prefix of:
Percentage of Posts on this forum belong to $userinfo[username]:
Do the instructions in the first post...
Click install if you have installed it.
commTRU
07-21-2005, 09:36 PM
Thanks for the hack, installed :) Had to add everything else, such as the Journal and Webpage/Guestbook, but it's easy to get around, and I do quite like how you have it all organized.. I always thought the default profile pages looked boring on their own :P
King Kovifor
07-21-2005, 09:38 PM
Thanks for the hack, installed :) Had to add everything else, such as the Journal and Webpage/Guestbook, but it's easy to get around, and I do quite like how you have it all organized.. I always thought the default profile pages looked boring on their own :P
Thanks. I'm going to be added a better design to it soon. It'll be much much nicer. The next attempt will probably be redesigning the Contact info as it does suck the way it's done.
commTRU
08-10-2005, 02:26 PM
I do like the look of 1.0.3; It looks much more organised, and I agree - The contact info is rather bland too. I wonder if the additional info could be seperated? From what I gather in the code, it's kinda all bunched together.
By the way, I think you forgot to include the template code in the zip file :)
I like what you're with the profile page though!
King Kovifor
08-11-2005, 12:12 AM
I'll attempt the additional information at a later date. Something wrong with the zip... I'll check tomorrow.
King Kovifor
08-16-2005, 05:21 PM
Upgrade Instructions:
In 1.2:
Find $vBphrase[find all threads by x] and after that ends (the line) place:
<if condition="$post['field17']">$vbphrase[fav_forum]<strong>$post[field17]</strong></if>!
In 1.4:
Find User ID: <strong>$userid</strong> and place the following:
<if condition="$post['field17']">$vbphrase[fav_forum]<strong>$post[field17]</strong></if>!
To get the vB Phrase add a profile field called:
Name: Favorite Forum
Description: What forum do you like the best?
Private Field: Yes
Than install a phrase:
var name: fav_forum
Text: <br />My Favorite forum is
That's it. Instructions will be updated soon. ^^ Just install 1.4 or 1.2 and upgrade for now.
commTRU
08-16-2005, 09:30 PM
Thats quite interesting, how you can add the profile field away from additional information.. I always hated that! But is now appears in two places.. Any way to stop it from appearing in the additional info section full stop? :)
King Kovifor
08-16-2005, 09:57 PM
CommTRU,
Make sure you set the firld to "Hidden". If you don't have any others that are hidden you may go through your groups and make it set to "can See Hidden Fields - no" I believe. That's your problem there!
commTRU
08-16-2005, 10:06 PM
Thanks King, I must have missed that off :)
That is a very useful mod though. I've always wanted to know how I could make my own custom fields, and place them in different areas. It has interesting potential!
King Kovifor
08-16-2005, 10:10 PM
Simple Conditionals. The same way you get them into the post bit/postbit_legacy but YOU have to make it hidden or it'll show twice. You could always get anywhere, on any place with it... Just some places are as easily added. Like the nav bar. << That gave me so much trouble on that with the PDN!
commTRU
08-16-2005, 10:46 PM
Here is a small screen cap of what I have been able to do with this modification.
Note that vBulletin doesn't have the ability to add in extras into the contact information, such as a link to My Space or Live Journal, thus thanks to this mod, I can now include this :) Before it would just look out of place in the Additional Info section..
To link to the profile field, just the profile field code around link tags, example:
<a href="$post[field10]" target="_blank">$post[field10]</a>
This works perfectly.. I tell ya, I was tearing my hair out trying to make the profile page look better. So thankies very much!
King Kovifor
08-16-2005, 10:51 PM
Thanks commTRU about the target="_blank" thing. I'll use that once I get to that part, but with that it has to be required. Try this instead:
<if condition="$post['field10']">Live Journal Account<br /><a href="$post[field10]" target="_blank">$post[field10]</a></if>
That'll allow it to check to see if they have it filled in. That will also make it so that it doens't say:
Live Journal Account:
... nothing here
Your Welcome for the helpful tip.
Mythotical
08-21-2005, 02:20 AM
I will be taking this to the next level, as you can see it shows up on the postbit, I'm thinking of placing it in the signature area as that would be a better place instead of under the users name. If King agrees with me on this then I'll do it or he will.
King Kovifor
08-21-2005, 01:36 PM
What, Show what in the postbit?
Fallback
08-21-2005, 02:51 PM
Thanks commTRU about the target="_blank" thing. I'll use that once I get to that part, but with that it has to be required. Try this instead:
<if condition="$post['field10']">Live Journal Account<br /><a href="$post[field10]" target="_blank">$post[field10]</a></if>
That'll allow it to check to see if they have it filled in. That will also make it so that it doens't say:
Live Journal Account:
... nothing here
Your Welcome for the helpful tip.
I would also add rel="nofollow" in the href tag for SEO purposes.
just a quick question..
in your instructions for 1.4.1 you state
**** Step Three: Templates ****
Please go into the style manager. Find the correct start tag and the correct end tag, and replace that with the following:
Find the correct start tag and end tag in which template exactly? sorry if it's rather obvious, it just seems a bit vague for someone like myself ^_^
p.s. i would have posted in your other forum but was too lazy to register :p
King Kovifor
08-22-2005, 12:37 PM
oh Thanks... What that means is find:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
And start highlighting to paste (that's what your going to start with the replacment) and than go down until you find:
<if condition="$show['usernotetotal']">
<br />($vbphrase[last]: $usernote[lastpostdate] <span class="time">$usernote[lastposttime]</span>)
</if>
</fieldset>
</div>
</if>
</div>
</div>
</td>
You want to replace from that TD up to the first code and everything inbetween!
That better?
I would also add rel="nofollow" in the href tag for SEO purposes.
What would that do? And where would the location be?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.