Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives

Reply
 
Thread Tools
How to do that? see photo! Details »»
How to do that? see photo!
Version: , by Birdie501 Birdie501 is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-10-2002 Last Update: Never Installs: 0
 
No support by the author.

Hi,

how can i change this like here on vbulletin. org?

Thanks!

Download Now

File Type: (21.3 KB, 331 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-29-2002, 09:44 AM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly
That's a part of our postbit:
Code:
<normalfont><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]">$post[username]</a></b> [<a href="search.php?s=$session[sessionhash]&action=finduser&userid=$post[userid]"><img src="https://vborg.vbsupport.ru/images/postbit_find.gif" border="0" alt="Find more posts by $userinfo[username]" align="middle"></a>]</b></normalfont>

Where do I install this code to enable this feature? And do I need to edit any files, or is it just template based?

This is a great feature!
Reply With Quote
  #13  
Old 04-29-2002, 09:46 AM
Birdie501's Avatar
Birdie501 Birdie501 is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

postbit template!
Reply With Quote
  #14  
Old 04-29-2002, 09:57 AM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I just paste it anywhere? And, will my search results be formatted/look like they do here? I love the way they are here.

Sorry for seemingly stupid questions, but I just set up my board for the first time yesterday, and am learning (not fast enough apparently, hehehe)

Regards,

Fred Bingham
Reply With Quote
  #15  
Old 04-29-2002, 12:18 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, I figured it out on my own believe it or not. Maybe I AM learning quick. (not the code, just where the code GOES and minor manipulations, )


Here's a variable Im curious about though.... how can I edit that code to just do a search for posts in the past, say, 3 days. If it does a search for ALL posts, that's gonna end up taking forever.

Or is it already this way?

Again, sorry for seemingly simple questions.

Regards,
Reply With Quote
  #16  
Old 04-29-2002, 10:21 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone out there know how to conquer what was proposed in my post above this one?

Regards,
Reply With Quote
  #17  
Old 04-30-2002, 06:15 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Blue: In search.php find this code:
Code:
  $wheresql="1=1".$forumsql.$usersql;
And add this portion of code right AFTER it:
Code:
  if (!empty($days)) {
	  $wheresql .= ' AND post.dateline > '.(time() - (60*60*24*$days));
  }
Now change the link to this (in the postbit template):
Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]&days=3">
(3 being the number of days to search for)
Reply With Quote
  #18  
Old 04-30-2002, 04:34 PM
Blue91's Avatar
Blue91 Blue91 is offline
 
Join Date: Apr 2002
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, that doesn't seem to be working. I put in the value 1 and I get more results than just the past day. I get the same results for 1 day as I do 7 days. Also, that made my "Latest posts in the past 24 hours" link at the top of my index page to not work, lol. I guess I'll just leave well enough alone.

Regards,
Reply With Quote
  #19  
Old 05-21-2002, 02:00 AM
nulltone nulltone is offline
 
Join Date: Apr 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where can I find the "Online" or "Offline" hack which is currently in your postbit?
Reply With Quote
Reply

Thread Tools

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 09:58 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.05494 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete