Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Latest profilevisitors - a better look Details »»
Latest profilevisitors - a better look
Version: 1.01, by Oyabun Oyabun is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.x Rating:
Released: 12-25-2008 Last Update: Never Installs: 8
Template Edits
Re-useable Code Code Changes Translations  
No support by the author.

Hi there!

First of all i'd like to tell you that im not the best coder and you will have to edit your templates on your on risk ! (Better save your template if you're not sure about this...)

What does this modification do?
It'll make your "latest profilevisitors block" in the profile look better and it adds online/offline buttons if you've uploaded them.

How to add the time and date the user visited the profile.

If you want to show avatars (small) aswell click here


open your memberinfo_visitorbit template:
search for:
HTML Code:
<li class="smallfont">
replace with:
HTML Code:
<li class="smallfont" style="margin-top: 4px">$user[onlinestatus] 
Open template memberinfo_block_recentvisitors:
Change ol and /ol in ul and /ul

Open file includes/class_profileblock.php:
search for:
PHP Code:
SELECT user.useriduser.usernameuser.usergroupiduser.displaygroupidprofilevisitor.visible 
replace with:
PHP Code:
SELECT user.useriduser.usernameuser.usergroupiduser.displaygroupiduser.lastactivity, (user.options " . $this->registry->bf_misc_useroptions['invisible'] . ") as invisibleprofilevisitor.visible 
search for:
PHP Code:
$visitors["$user[username]"] = $user
above add:
PHP Code:
fetch_online_status($usertrue); 
Done! (Thanks to Stoebi)




Excuse my english, im german.
HF with this mod. Greez

Supporters / CoAuthors

Show Your Support

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

Comments
  #22  
Old 12-29-2008, 12:17 AM
The4um's Avatar
The4um The4um is offline
 
Join Date: Nov 2008
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd made something twice and this was the reason that this modification does not work

Now is working perfectly
Reply With Quote
  #23  
Old 12-29-2008, 03:08 AM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi @all

Please give me more time, because some actions in the upcoming days with my family and friends (party, party party)

@Snorks, @Ultimate Teen Forums
I make public the rest of this code in this forum, you did not need to registrate on our forum your-vb.com in germany. Please have patience, I will see, how can I optimize this.


@Oyabun
vB Blog is not here installed at the moment.


Regards, Stoebi
Reply With Quote
  #24  
Old 12-29-2008, 12:00 PM
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Posts: 633
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thank you!
________
SQUIRTING PUSSY
Reply With Quote
  #25  
Old 12-29-2008, 09:16 PM
Tarfandestan Tarfandestan is offline
 
Join Date: Nov 2008
Location: Iran
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Please revert your file includes/class_profile.php first
Dear Stoebi , I think that your mean is includes/class_profileblock.php. yes?
Reply With Quote
  #26  
Old 12-31-2008, 01:07 AM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, you are right.Thank you.


Regards,

Stoebi
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 06:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05904 seconds
  • Memory Usage 2,266KB
  • Queries Executed 21 (?)
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
  • (2)bbcode_html
  • (4)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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