vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Profile Enhancements - Date & Time of Profile Visitor (https://vborg.vbsupport.ru/showthread.php?t=200903)

Magnumutz 01-16-2009 09:06 AM

Sweet but just hate file edits...

Lynne 01-16-2009 03:10 PM

Quote:

Originally Posted by azher (Post 1714331)
great mod. does anyone know of a way to make the profile visitors show up in the order of when they visited rather than in alphabetical order?

Comment out the line in class_profileblock.php that sorts them:

PHP Code:

//        uksort($visitors, 'strnatcasecmp'); 


Quote:

Originally Posted by Magnumutz (Post 1714431)
Sweet but just hate file edits...

So do I, but unfortunately I couldn't find a way around it.

algor65 01-18-2009 10:04 PM

nice item, installed and rated as MOTM

TimberFloorAu 01-18-2009 10:08 PM

Good Work Lynne :up:

goxy63 01-22-2009 03:00 AM

Lynne
Regarding to 'azhers' post, and your reply....
quote:
'great mod. does anyone know of a way to make the profile visitors show up in the order of when they visited rather than in alphabetical order?'

In includes/class_profileblock.php
I found mentioned line
PHP Code:

//        uksort($visitors, 'strnatcasecmp'); 

But what to change here to show up vistitors in mentioned order ?

Lynne 01-22-2009 04:04 AM

Just comment out that line like I showed (put the // in front of it).

azher 01-25-2009 10:13 PM

Quote:

Originally Posted by Lynne (Post 1720862)
Just comment out that line like I showed (put the // in front of it).

yup. what she said. thanks, lynne. works like a charm. :)

SuperTaz 02-06-2009 03:26 PM

Thank you, Lynne. Installed.

goxy63 02-09-2009 07:57 PM

Thanks Lynne, edited that long time ago :D

Now just upgraded to Vb 3.8.1 and had to change stuff again in includes/class_profileblock.php...works just great

What I wanted to ask can this work out for blogs just the same !?

Any pointers !?

Lynne 02-09-2009 08:32 PM

The idea would be the same for the blog, however since I don't have the blog add-on, I can't try it out.


All times are GMT. The time now is 02:18 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.01018 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete