Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Old 01-15-2007, 09:19 AM   #1 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 26,971
iTrader: 3 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Inactive Members Lose Signature in vBulletin

How do I do this? I want inactive member's signatures to not display.
__________________
Individualism
The ideal form of government is democracy tempered with assassination. - Voltaire
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-15-2007, 10:39 AM   #2 (permalink)
Senior Member
 
jeet's Avatar
 
Join Date: 03-04-06
Posts: 158
iTrader: 0 / 0%
jeet is a jewel in the roughjeet is a jewel in the roughjeet is a jewel in the roughjeet is a jewel in the roughjeet is a jewel in the roughjeet is a jewel in the roughjeet is a jewel in the rough
I haven't used vbulletin myself, but I think it stores the last login/post time of all members. When you display threads, check this time, subtract it from current time, and if it's less than what you want, put the signature between <!-- --> html code.

Although I really think that won't be fair to "old" members who have contributed to the forum with useful help/ posts.
You can instead do a check of "reputation" points/ number of posts etc before a signature can go live.
Thanks
jeet is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-15-2007, 06:02 PM   #3 (permalink)
Senior Member
 
Join Date: 01-02-07
Location: PA, USA
Posts: 191
iTrader: 0 / 0%
Latest Blog:
None

Arenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebody
Send a message via ICQ to Arenlor Send a message via AIM to Arenlor Send a message via MSN to Arenlor Send a message via Yahoo to Arenlor
Using MySQL you can check their last login, and "SELECT * FROM signatures WHERE lastlogin >= NOW(-so_many_seconds)" instead of just selecting the signatures. Edit as needed, I right my own forums so I don't know how to edit this.
Arenlor is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 04:09 AM   #4 (permalink)
v7n Mentor
 
Paul M's Avatar
 
Join Date: 12-14-05
Posts: 73
iTrader: 0 / 0%
Paul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of light
What is your definition of an inactive member ?
Paul M is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 04:43 AM   #5 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 26,971
iTrader: 3 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Not logged in in over 6 months.
__________________
Individualism
The ideal form of government is democracy tempered with assassination. - Voltaire
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 04:31 PM   #6 (permalink)
Senior Member
 
Join Date: 01-02-07
Location: PA, USA
Posts: 191
iTrader: 0 / 0%
Latest Blog:
None

Arenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebodyArenlor is liked by somebody
Send a message via ICQ to Arenlor Send a message via AIM to Arenlor Send a message via MSN to Arenlor Send a message via Yahoo to Arenlor
1555200 seconds. Only pull those that are from there to now. where last_login >= now(-1555200) ^_^
Arenlor is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 07:24 PM   #7 (permalink)
v7n Mentor
 
Paul M's Avatar
 
Join Date: 12-14-05
Posts: 73
iTrader: 0 / 0%
Paul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of lightPaul M is a glorious beacon of light
Quote:
Originally Posted by John Scott View Post
Not logged in in over 6 months.
A small plugin should be able to do that. I'll see what I can do over the weekend.
Paul M is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 07:44 PM   #8 (permalink)
Individualist
 
John Scott's Avatar
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 26,971
iTrader: 3 / 100%
John Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster materialJohn Scott is supreme webmaster material
Send a message via AIM to John Scott Send a message via Yahoo to John Scott
Thanks Paul.
__________________
Individualism
The ideal form of government is democracy tempered with assassination. - Voltaire
John Scott is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 09:12 PM   #9 (permalink)
Easily Outraged
 
Join Date: 01-09-06
Posts: 1,587
iTrader: 0 / 0%
Latest Blog:
None

Nick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web proNick is a highly respected web pro
FYI, I also noticed that banned members still are able to display their Latest Blog: posts....

ie. http://www.v7n.com/forums/529897-post1.html

Might want to fix that.
Nick is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 09:42 PM   #10 (permalink)
Contributing Member
 
Join Date: 11-29-04
Location: Chicago, IL
Posts: 63
iTrader: 0 / 0%
joeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nicejoeychgo is just really nice
Great idea!
__________________
vBulletin FAQ ~ A New Home for vBulletin Forum Owners!
joeychgo is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-18-2007, 10:37 PM   #11 (permalink)
V7N Administrator
 
Cricket's Avatar
 
Join Date: 10-13-03
Location: Texas
Posts: 22,838
iTrader: 0 / 0%
Latest Blog:
Looking Back At Me

Cricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster materialCricket is supreme webmaster material
Quote:
Originally Posted by Nick View Post
FYI, I also noticed that banned members still are able to display their Latest Blog: posts....

That bothered me a bit too...
__________________
GNC Web Creations - Free Search Engine Optimization (SEO) Training Class
Website Development Training - Website Development Training Blog

What are you waiting for? Submit your site to directory.v7n.com today!
Cricket is online now  
Add Post to del.icio.us
Reply With Quote
Old 01-23-2007, 07:53 AM   #12 (permalink)
Member
 
Join Date: 01-22-07
Location: India
Posts: 52
iTrader: 0 / 0%
Latest Blog:
None

Gurpartap is liked by somebodyGurpartap is liked by somebodyGurpartap is liked by somebodyGurpartap is liked by somebody
Send a message via MSN to Gurpartap Send a message via Yahoo to Gurpartap
Wherever is the signature loading code within vB, you can put a condition of activity. vB already stores last login time or so, check that timestamp, compare with 'now' [time()], if difference is 6 months+, break, else do. This is just concept, which you might have already thought of. Could put further code helping out with time comparisons though, or maybe it is already accomplished, is it?
Gurpartap is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Market place really inactive!!! chum112 V7N Forum Support 2 06-12-2007 10:49 AM
Edit Signature Edit Box in vBulletin John Scott Coding Forum 4 11-01-2006 01:56 PM
Number of Signature Links Limited in vBulletin John Scott Coding Forum 4 10-31-2006 10:39 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 09:25 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.