vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Members who have visited the forum (Today or last 24 hours). (https://vborg.vbsupport.ru/showthread.php?t=82769)

okc 09-05-2005 03:00 AM

Great hack - could you tell me how to remove the link to the users so that there name only appears, but does not give a link to that member?

Andreas 09-05-2005 03:40 AM

Quote:

Originally Posted by Paul M
I guess it also depends on what you mean by 'optimization' - using those functions may reduce the code in the hack slightly, but the functions themselves have a lot of code in them

That's the reason why I marked it with a '?' :)
The way I did it is close to how vBulletin itself does it, and I assume that way is optimized for Performance, although it might have more Code.
But on the other Hand, the Query gets a Bit lighter as it does not invlove joins.
Although there is less code to eval().
But as said, I am not sure if this has an impact on Performance - it was just a thought :)

okc 09-05-2005 03:44 AM

Kirby - do you happen to know the answer to my question above regarding providing only usernames & no links to the users who have visited? thx

Andreas 09-05-2005 03:52 AM

That's easy - just edit the Plugin Code so it does not create Links.

okc 09-05-2005 03:57 AM

I know it's here in the index.php, but how exactly do I change it - thx for your help:

$whotoday .= "<a href='member.php?u=$today[userid]' title='$wrdate' >";
if ($today['visible'] == 2)
{
$whotoday .= $today['opentag'].$today['username'].$today['closetag']."</a>*, ";
}
else
{
$whotoday .= $today['opentag'].$today['username'].$today['closetag']."</a>, ";

BamaStangGuy 09-05-2005 05:04 AM

Why are you looking in idex.php to modify a plugin?

Open your Plugin Manager and remopve the hyperlink code around the name

evesve 09-05-2005 02:30 PM

Quote:

Originally Posted by evesve
There must be an easy way to set the usergroups in order 6,7,9,2,1

Quote:

Originally Posted by Paul M
Feel free to suggest one. :)

Maybe,
from my old asp-world :nervous: :
Code:

if usergroupid= 6 then
list_order= 1
elseif usergroupid=7 then
list_order=2
end if
=======
......order by list_order , username

or one more field in vb3_usergroups ("list_order")where I can put my usergroups in MY order and use that table in sql :nervous:

php is not the best part of me but I will learn!

What would you do without our crazy suggestions? :alien:

okc 09-05-2005 03:28 PM

Quote:

Originally Posted by BrentWilson
Why are you looking in idex.php to modify a plugin?

Open your Plugin Manager and remopve the hyperlink code around the name

I don't have a plug-in manager - I have 3.07 vB - unless I'm missing something. I'm almost positive modifying the index.php will do it. Any help in this regard?

Paul M 09-05-2005 06:43 PM

Quote:

Originally Posted by KirbyDE
But as said, I am not sure if this has an impact on Performance - it was just a thought :)

Indeed, which is why I thanked you for the suggestion. :)

Paul M 09-05-2005 06:45 PM

Quote:

Originally Posted by okc
I don't have a plug-in manager - I have 3.07 vB - unless I'm missing something. I'm almost positive modifying the index.php will do it. Any help in this regard?

You are in the wrong topic - this is the vb 3.5.0 plugin version, you want this ;

https://vborg.vbsupport.ru/showthrea...threadid=71533


All times are GMT. The time now is 01:34 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.01992 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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