Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-27-2009, 10:30 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help - Hide my join date

Hello all,

How do i hide only my join date?

Thank you for all your help!

Reply With Quote
  #2  
Old 01-27-2009, 10:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hide it (like from certain usergroups?), or delete it? And from where?
Reply With Quote
  #3  
Old 01-27-2009, 10:45 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Hide it (like from certain usergroups?), or delete it? And from where?
From being visable to anyone. Profile and posts.

Thanks
Reply With Quote
  #4  
Old 01-27-2009, 10:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's on several templates. Do a Search in Templates for "joindate" > go to edit the template > hit find (joindate should already be prewritten in there) and then remove, or comment out to test first, that line.
Reply With Quote
  #5  
Old 01-27-2009, 10:50 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This will take away all user's join date.

I just want mine (admin, userid 1) to be hidden.

Thanks again Lynne for your help.
Reply With Quote
  #6  
Old 01-27-2009, 10:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Put a condition around all those instances of the join date:
HTML Code:
<if conditon="$whatever[userid] != '1'">
The line that $whatever[joindate] is on
</if>
I say $whatever, cuz if it is $post[joindate], then you want to put $post[userid]. If $prepared[joindate], then $prepared[userid], etc.

It's going to be a bit of effort just to hide a joindate. Why not just set it to whatever you want in the usercp?
Reply With Quote
  #7  
Old 01-27-2009, 10:58 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Put a condition around all those instances of the join date:
HTML Code:
<if conditon="$whatever[userid] != '1'">
The line that $whatever[joindate] is on
</if>
I say $whatever, cuz if it is $post[joindate], then you want to put $post[userid]. If $prepared[joindate], then $prepared[userid], etc.

It's going to be a bit of effort just to hide a joindate. Why not just set it to whatever you want in the usercp?
it doesnt go back far enough, lol.

--------------- Added [DATE]1233104370[/DATE] at [TIME]1233104370[/TIME] ---------------

Thank you for your help.

--------------- Added [DATE]1233104773[/DATE] at [TIME]1233104773[/TIME] ---------------

ok so i searched for joindate and this is what i got -

PHP Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> 
This is in postbit and postbit legacy.

What would i need to do to that code?
Reply With Quote
  #8  
Old 01-27-2009, 11:09 PM
dismas's Avatar
dismas dismas is offline
 
Join Date: Jun 2007
Location: Vermont
Posts: 720
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NittoMOD View Post
it doesnt go back far enough, lol.

--------------- Added [DATE]1233104370[/DATE] at [TIME]1233104370[/TIME] ---------------

Thank you for your help.

As I recall, you're fascinated by the number 1320...

So, you could fake your joindate. Try something like:
Code:
<if conditon="$whatever[userid] != '1'">
The line that $whatever[joindate] is on
<else>Join date: Jan. 1, 1320
</if>
My 'else' code may be slightly off but I'm sure Lynne can correct me if need be.
Reply With Quote
  #9  
Old 01-27-2009, 11:18 PM
BlackJacket's Avatar
BlackJacket BlackJacket is offline
 
Join Date: Nov 2008
Location: 070108111114105100100
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dismas View Post
As I recall, you're fascinated by the number 1320...

So, you could fake your joindate. Try something like:
Code:
<if conditon="$whatever[userid] != '1'">
The line that $whatever[joindate] is on
<else>Join date: Jan. 1, 1320
</if>
My 'else' code may be slightly off but I'm sure Lynne can correct me if need be.
lol thanks. I will try this now.

1320 = How many feet are in a quarter mile.

--------------- Added [DATE]1233106458[/DATE] at [TIME]1233106458[/TIME] ---------------

Is this correct?

PHP Code:
<if conditon="$post[userid] != '1'">
<
div>$vbphrase[join_date]: $post[joindate]</div>
<else>
Join dateJan11320
</if> 
Im getting an error -

The following error occurred when attempting to evaluate this template:

The conditional on line 50 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Reply With Quote
  #10  
Old 01-27-2009, 11:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This should work:

HTML Code:
<if conditon="$post[userid] != '1'"> 
<div>$vbphrase[join_date]: $post[joindate]</div> 
<else />
<div>$vbphrase[join_date]: Jan. 1, 1320 </div>
</if>
And when I did a quick search for "joindate" in my templates, I ended up with more than just the postbit templates.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:48 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.05443 seconds
  • Memory Usage 2,273KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_html
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete