Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Remove Location display if author has no location Details »
Remove Location display if author has no location
Mod Version: 1.00, by JJR512 (Member) JJR512 is offline
Developer Last Online: Jun 2006 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 24
Released: 25 Nov 2001 Last Update: Never Downloads: 1
Not Supported  

In the author info area to the left of every post, it tells you the author's location. But some people do not enter a location. When someone does not enter a location into his/her profile, you still see the line that says "Location: ", only there's nothing there. I think it would look better to not have that at all. So I've written this very simple little hack that makes it so that line only appears if the person has a location in his/her profile. With this hack, there won't even be a blank line.

You can see an example here. Note that this member of my board, s4, has no location specified, and see how it looks. Compare to the post right above his.

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 26 Nov 2001, 02:28
nafae's Avatar
nafae nafae is offline
 
Join Date: Nov 2001
cool hack!
Reply With Quote
  #3  
Old 26 Nov 2001, 08:08
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Real name: Maurice
Thumbs up

Very cool, Thanks
Reply With Quote
  #4  
Old 26 Nov 2001, 08:14
|DarkManX|'s Avatar
|DarkManX| |DarkManX| is offline
 
Join Date: Oct 2001
sweet hack!
Reply With Quote
  #5  
Old 26 Nov 2001, 23:17
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Nice Indeed!

Worked great! Should be standard!
Reply With Quote
  #6  
Old 27 Nov 2001, 00:06
Syphin Syphin is offline
 
Join Date: Oct 2001
sank u sank u... I shoulda done this to my board already.. never thought of it.. lol


-Syphin
Reply With Quote
  #7  
Old 27 Nov 2001, 00:44
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Nicely done, JJR!
__________________
FWC
F5 Hosting
White Sox Interactive Forums
Reply With Quote
  #8  
Old 27 Nov 2001, 18:23
Logtenberg Logtenberg is offline
 
Join Date: Nov 2001
Works great!
Reply With Quote
  #9  
Old 15 Dec 2001, 05:28
Island Roots Island Roots is offline
 
Join Date: Dec 2001
Nice hack man! I love all these mini-hacks that just clean up the look of the forums and make them look better!
Reply With Quote
  #10  
Old 19 Dec 2001, 19:45
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Great work - it looks so bad when there's just "location" there
__________________
[buffy-boards]
Reply With Quote
  #11  
Old 27 Dec 2001, 18:06
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Real name: Rose
I just installed this hack, I'll admit I'm going through finding the smaller hacks to start with.

Anyway, I copied and pasted, double checked, with back through and I can't see an error. However, I don't have the location showing up on my site now.

I'm at www.simpsonsboard.com. Can someone give me a hand?
Reply With Quote
  #12  
Old 27 Dec 2001, 19:11
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
Well, right now, your link immediately shows this:
Parse error: parse error in /home/simpson/public_html/admin/functions.php on line 811

Fatal error: Call to undefined function: vbsetcookie() in /home/simpson/public_html/admin/sessions.php on line 217
I've looked at my own functions.php and line 811 and the stuff around it doesn't seem to have anything to do with what my hack does, so I don't know if this is the problem you mentioned, or a different problem. Did this start happening right when you installed my hack, or is this a separate problem?
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #13  
Old 27 Dec 2001, 19:48
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Real name: Rose
Originally posted by JJR512
Well, right now, your link immediately shows this:

I've looked at my own functions.php and line 811 and the stuff around it doesn't seem to have anything to do with what my hack does, so I don't know if this is the problem you mentioned, or a different problem. Did this start happening right when you installed my hack, or is this a separate problem?

D'oh! This is an error occured by a separate hack I was working on installing after I did this one. I'm still trying to access my server, as it seems I'm not getting anything. When all is back up and running, I'll test the location again and ask then. Is it okay if I pm you?
Reply With Quote
  #14  
Old 27 Dec 2001, 19:58
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
Yes, I'm opened to PMs.
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #15  
Old 27 Dec 2001, 20:15
Rose's Avatar
Rose Rose is offline
 
Join Date: Nov 2001
Real name: Rose
Okay, just a quick update, I don't want to be nailed for spamming....


The board is back up and running. I have to go back and make sure the hack is still installed. Once I've done that, I'll pm you directly. Thanks again for your help and patience.




Edited to say: Since it was done so quick, I'll just say that I've rechecked everything and I"m still not getting the location to show up. I'm at www.simpsonsboard.com.

Last edited by Rose; 27 Dec 2001 at 20:24.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:50.

Layout Options | Width: Wide Color: