Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-22-2006, 04:40 PM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default A staff member always shown as logged in???

We find that our trolls seems to wait until no staff is showing as being logged in then commence the BS.

Are there any ideas on how to maybe create a couple dummy mod/admin accounts and have at least one showing as being logged in at all times? Or maybe a hack that would allow a few current staff members to always be shown as logged in?
Reply With Quote
  #2  
Old 04-22-2006, 05:10 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two ways that I have used.

1. Set one of your staff to invisible mode then in your forumhome template find
Code:
<div>$activeusers</div>
Replace this with code mimicing the one below, placing the name and profile link of the invisible staff member in there.

This is taken directly from my site to give you the template to follow. Ensure that any username markup is also applied to each entry as appropriate.
Code:
<div>
<a href="http://www.peterska2.co.uk/member.php?u=54">Alice</a>, <a href="http://www.peterska2.co.uk/member.php?u=300">TechnoGeek</a>, <a href="http://www.peterska2.co.uk/member.php?u=235">Tom</a>, $activeusers</div>
2. Create a new mod/admin/whatever and repeat the above template changes.


If you want to know how it looks, take a look at www.peterska2.co.uk
Tom, Alice, and TechnoGeek are my three bots so never show up logged in unless I make these changes.
Reply With Quote
  #3  
Old 04-23-2006, 06:11 AM
RMS-Chef RMS-Chef is offline
 
Join Date: Aug 2003
Location: MA, USA
Posts: 326
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks peter. I thought of hard coding them in but I thought I would try here first to see if there was another way to do it.

Thanks for the jumpstart on the code though, it's appreciated.
Reply With Quote
  #4  
Old 04-24-2006, 05:22 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi peter..

I have just tried this and it did work to a certain extent lol


Most users ever online was 53, 31-01-2006 at 10:02 PM.
Sherlock Holmes,
AdministratorSenior ModModeratorVIP

Bashy , Tony , jock299 , gibby , ian2494+

(Albeit i think the colour coding here is slightly off for my browser the above is meant to be red, but showing green to me..)

You can see that i have 1 of the Legends installed and my erm, (bot) Sherlock Holmes has appeared above the legend

I did follow you instructions but i think its deffo down to the Legend as to why its showing up there lol....

Any ideas please?

PS....why does my browser show these colours as green lol, i did red

EDIT:

I have just had to remove the edit due to my the navbar links on the forumhome no longer work??
Fine any other page just the forum home, even with the edit removed they still dont work??
This appears to be the drop links only!!
Reply With Quote
  #5  
Old 04-24-2006, 11:20 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That shouldn't have happened, but I don't have the legend mod installed, so I'm not too sure why this happened.
Reply With Quote
  #6  
Old 04-25-2006, 05:22 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have reverted the template bit by bit

I have managed to get the dop links working again

There is another issue nothign serious, will explain it when i get in from work
Then i will have another go with ya bot/s
Have fun

Hi peeps

Finally got sorted, now down to the small issue lol

Ok whilst i was putting back the saved template (i always copy it to notepad before i start) it would not let me save the template at 1st, so what i did was add the code bit by bit and saving each time untill i got the the point it wouldnt let me save, I found out that it will not let me put this bit of code back in, dont know why mind and it aint really important on my forum as theres 2 others ( i assume its the log out link)

here it is...

Code:
<if condition="!$show['guest']">
        <!-- member logout -->
        <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
        <!-- end member logout -->
Aint got a clue why it wont go back in....
Reply With Quote
  #7  
Old 04-25-2006, 09:30 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need an </if> at the end of that code Bashy otherwise it will just complain about errors with the conditionals.
Reply With Quote
  #8  
Old 04-26-2006, 05:22 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Peter

Yeah sorry i should have shown a bit more i spose lol
I am trying to put it back in between a </td> and the </if> before the last

</tr>
</table>

in the foroumhome, just tried again this morning, it just will not have it lol
If ya look at the version history, it is meant to be there as well, its quite funny really lol.....Like i say, i aint too bothered as it looks like the logout code anyway, but would have been nice to find out why it wont go back

Speak tonight
Reply With Quote
  #9  
Old 05-11-2006, 09:47 PM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great


EDIT:
How would one make the bot appear to be online on the bots user profile ?
Reply With Quote
  #10  
Old 05-11-2006, 10:05 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi peter...i got rid of the legend and now its working perfectly
Thank you!!
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 05:26 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.05746 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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