Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2010, 03:06 AM
Trumpetrhapsody Trumpetrhapsody is offline
 
Join Date: Oct 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Who's Online "?" Link

I don't know how to describe this well... and this might be a dumb thing to ask for but...


In Who's Online, when you're an admin and you get that icon... when you mouseover it shows the link of what the person is looking at (like an attachment). It would be nice if clicking that would take you TO what they're looking at.

Unless you mouseover and write down the link then type it in manually there is no good way to view what another user is viewing.
Reply With Quote
  #2  
Old 02-03-2010, 03:19 AM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I forget what it's called, but there's a 3.x modification that does just that. It's either a template edit or a product, but shouldn't be too hard to find.
Reply With Quote
  #3  
Old 02-03-2010, 03:22 AM
Trumpetrhapsody Trumpetrhapsody is offline
 
Join Date: Oct 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! I'll try to find it, but in my cursory searching before posting here it didn't show up. If I can find it hopefully it could easily be ported for VB4.

You'd think this kind of thing would be a VB default feature, but oh well.


EDIT:
Apparently I didn't look very well: https://vborg.vbsupport.ru/showthrea...ght=who+online

Now to see if I have the ability to port it

Code:
<phpcode><![CDATA[$element = addslashes('<img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" />');

$replace =  addslashes('<a href="$vboptions[bburl]$userinfo[location]" target="_"><img src="$stylevar[imgdir_misc]/question_icon.gif" alt="$userinfo[location]" border="0" /></a>');

$vbulletin->templatecache['whosonlinebit'] = str_replace($element, $replace, $vbulletin->templatecache['whosonlinebit']);
unset($element, $replace);]]></phpcode>
Reply With Quote
  #4  
Old 02-03-2010, 05:18 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/showthread.php?t=231306" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=231306</a>

??
Reply With Quote
  #5  
Old 02-03-2010, 11:25 AM
Trumpetrhapsody Trumpetrhapsody is offline
 
Join Date: Oct 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Already posted that link... in the post right above you??


I fixed the syntax... but importing it isn't making the style changes.
Code:
<phpcode><![CDATA[$element = addslashes('<img src=" {vb:stylevar imgdir_misc}/question_icon.gif" alt="{vb:raw userinfo.location}" />');

$replace =  addslashes('<a href="{vb:raw userinfo.location}" target="_"><img src="{vb:stylevar imgdir_misc}/question_icon.gif" alt="{vb:raw userinfo.location}" border="0" /></a>');

$vbulletin->templatecache['whosonlinebit'] = str_replace($element, $replace, $vbulletin->templatecache['whosonlinebit']);
unset($element, $replace);]]></phpcode>
Reply With Quote
  #6  
Old 03-01-2010, 03:49 PM
Trumpetrhapsody Trumpetrhapsody is offline
 
Join Date: Oct 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump... can anyone help out with getting the install script working for VB4?
Reply With Quote
  #7  
Old 03-02-2010, 01:28 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The modification would need to be updated to vB4
Reply With Quote
  #8  
Old 03-02-2010, 02:13 AM
Trumpetrhapsody Trumpetrhapsody is offline
 
Join Date: Oct 2009
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

.... I already said I updated and tested the code manually... But that I don't know how to update the auto template script...
Reply With Quote
  #9  
Old 03-02-2010, 03:01 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See this https://vborg.vbsupport.ru/showthread.php?t=228078
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 08:13 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.03973 seconds
  • Memory Usage 2,229KB
  • Queries Executed 11 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete