vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Member of the Day! (https://vborg.vbsupport.ru/showthread.php?t=34779)

Vivi Ornitier 03-13-2002 11:27 PM

can we make it so when a user is the member of da day, he'll get an email saying he's the member of the day . .yadda ydda yadda?

Admin 03-14-2002 10:06 AM

Put
Code:

time()-(86400*14)
around parenthesis, like this:
Code:

                                      WHERE userid<>$daybits[1] AND lastactivity>".(time()-(86400*14))."
:)

Mathiau 03-17-2002 01:19 AM

Mever mind, saw above link, :

E 03-23-2002 07:53 AM

how do i run a query :(...

Mathiau 03-26-2002 06:34 AM

Quote:

Originally posted by e_dove
how do i run a query :(...
read above post by cditty:


Check out this thread - http://www.vbulletin.com/forum/show...?threadid=18558

Chris

Admin 03-26-2002 06:54 AM

Just uploaded a vbHacker version to the first post. :)

GeOrGe 03-26-2002 03:14 PM

Quote:

Originally posted by squawell
great job FireFly~~

i'll be use it~:D:D:D:D

I use it too, but why does it say nothing?


Look: http://chatter-board.de

Admin 03-26-2002 03:15 PM

Did you run the query you were told to run?

GeOrGe 03-26-2002 03:16 PM

Quote:

Originally posted by GeOrGe


I use it too, but why does it say nothing?


Look: http://chatter-board.de

Mein Englisch ist nicht das beste, deswegen versuche ich das nun Deutsch, aber hoffe auf antwort.

Ich brauch den Hack, dass meine Zitate und so auch in diesem K?stchen erscheinen, wo bekomm ich den her, kann mir da einer von euch helfen?

GeOrGe 03-26-2002 03:16 PM

Quote:

Originally posted by FireFly
Did you run the query you were told to run?
So I think so

xtrim 04-17-2002 05:16 AM

Firefly,

thnx for the hack, i find it great and would like to request what I think won't be very tough modification.

How could I add diplaying the avatar the member of the day has?

Thanks again!

diettalk 04-17-2002 01:26 PM

I had this type of a hack when I used UBB but haven't used it with vBulletin because all the "members of the day" where people who didn't come to the forums anymore or it picked someone with 0 posts. ;)

How about adding a feature to make sure the member of the day is someone who actually is a participating member. Someone who has logged in within the past month or 2. vBulletin already keeps the "last visit".

Admin 04-17-2002 04:25 PM

Reading through the thread usually helps, diettalk. :rolleyes:

KuraFire 05-01-2002 09:17 AM

Great hack, just installed it using vbHacker :):up:

ceo_tfw 05-06-2002 08:26 PM

is there a text version of the (Members of the Day so that I can do this manually, I prefer this as I can backtrack my mistakes, if any, I am on version 2.2.5
can anyone help please

Smalley 05-07-2002 02:25 AM

can we have the 2.2.5 version soon ..

Danny 05-19-2002 06:43 PM

is there anyway to make the member of the day clickable?

ULTIMATESSJ 05-19-2002 06:58 PM

Quote:

Originally posted by ceo_tfw
is there a text version of the (Members of the Day so that I can do this manually, I prefer this as I can backtrack my mistakes, if any, I am on version 2.2.5
can anyone help please

if you go into vbhacker ou should be able to generate a txt file with all the instructions

Velocd 05-19-2002 07:51 PM

I haven't read through the posts in here yet, but is there a way to make it choose a random user through all those who have posted recently, say, in the last week. I just don't want it to choose a user who hasn't posted in 1 month or something.

Roxie 05-22-2002 11:11 AM

Does this work with 2.2.5?
Thanks

Admin 05-22-2002 11:17 AM

Yes it does.

missorator 05-30-2002 01:07 PM

Chen, this is a great hack. However, it isn't working too well at my forums (it's not the hack - it's nothing to do with vb actually ;)). How can I safely remove it?

Sorry for sounding dumb...I haven't ever removed a hack before ;)

Thanks!

Jen

Admin 05-30-2002 02:32 PM

Just do everything the instructions say, only backwords. Don't mind the query you ran, there's no need to remove what it added (trust me).

Kars10 06-11-2002 10:56 AM

Great Hack FireFly!!!
Very Easy to install!! :D
Thanx so much..

Velocd 06-19-2002 05:16 AM

So how about post #99? Think it can be done?

Admin 06-19-2002 09:10 AM

Already done, read through the thread.

Vile 07-31-2002 04:35 AM

Hi, need a little help.
I got all the way to the last step.

It says:

?Run this query: |
+-----------------------------------------------------------------------+
INSERT INTO template (templateid,templatesetid,title,template) VALUES (NULL,-2,'memberoftheday','0||vb||0||vb||0');"

How do I do this? What does it mean when Im told to "run a query"? Thanks for your help.

Thewnagchung 07-31-2002 05:19 AM

Quote:

Originally posted by Knightmare
Hi, need a little help.
I got all the way to the last step.

It says:

?Run this query: |
+-----------------------------------------------------------------------+
INSERT INTO template (templateid,templatesetid,title,template) VALUES (NULL,-2,'memberoftheday','0||vb||0||vb||0');"

How do I do this? What does it mean when Im told to "run a query"? Thanks for your help.

it means run a query on your mySQL database, it will add that table to your database.

do this in phpmyadmin

BUT BACK UP YOUR DATABASE FIRST!!

Vile 07-31-2002 05:41 AM

Quote:

Originally posted by Thewnagchung


it means run a query on your mySQL database, it will add that table to your database.

do this in phpmyadmin

BUT BACK UP YOUR DATABASE FIRST!!

Thanks for the reply.
Sorry, Im a newbie at this, but how do I access phpmyadmin?

Thanks again.

Thewnagchung 07-31-2002 05:50 AM

Quote:

Originally posted by Knightmare


Thanks for the reply.
Sorry, Im a newbie at this, but how do I access phpmyadmin?

Thanks again.

well im not sure if your server has it installed, but if it does you should be able to acess it via your site cpanel

Vile 07-31-2002 05:56 AM

Ok, thanks for the help:)

Thewnagchung 07-31-2002 06:15 AM

Quote:

Originally posted by Knightmare
Ok, thanks for the help:)
no problemo el muchacho ^^

NexDog 08-09-2002 12:21 AM

Can I just run the whole the whole query again to get the users who are active to show? Looks like it would be easiest in phpmyadmin. Can someone paste in the whole query with that edit that was post by FireFly? I'm no mysql expert, can't even tell where the query ends. :D

NexDog 08-09-2002 12:28 AM

Okay, it isn't the query that needs to be changed, just the code. duh.

Anyhow, I just need people active in the last month to qualify. What timestamp can I use in this code:

PHP Code:

WHERE userid<>$daybits[1] AND lastactivity>".[b]time[/b]()-(86400*14)." 


Admin 08-09-2002 07:34 AM

Change 14 to 30 (number of days).

NexDog 08-09-2002 08:51 AM

Yea, but instead of "time", don't I need php code?

Boofo 08-09-2002 09:39 AM

Just change it to what Firefly said and it will work the way you want it to. He's done this once or twice before, I think. :)

Quote:

Originally posted by NexDog
Yea, but instead of "time", don't I need php code?

NexDog 08-09-2002 11:33 AM

Okay...but have some weirdness happening. No name is appearing:

http://www.hostnexus.com/forum/index.php?s=

Under the stats at the top. I just want this working so I can install the main Stats hack.

And Christ. Will some tell me how to get the user online/offline thing happening like it is here? :D

Boofo 08-09-2002 12:02 PM

Are you using this line? I just looked at your code and didn't see it. ;)

Code:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$memberoftheday[userid]"><b>$memberoftheday[username]</b></a>
Quote:

Originally posted by NexDog
Okay...but have some weirdness happening. No name is appearing:

http://www.hostnexus.com/forum/index.php?s=

Under the stats at the top. I just want this working so I can install the main Stats hack.

And Christ. Will some tell me how to get the user online/offline thing happening like it is here? :D


NexDog 08-09-2002 01:48 PM

Yep:

PHP Code:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>";i:13;s:253:"<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a><br>
The $bbtitle member of the day is <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$memberoftheday[userid]">$memberoftheday[username]</a



All times are GMT. The time now is 04:17 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.01342 seconds
  • Memory Usage 1,821KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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