vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Member of the day (https://vborg.vbsupport.ru/showthread.php?t=60368)

sully02 08-29-2004 10:58 PM

Has someone already converted this into a CMPS module? If so, I'd like to see it. If not... I may give it a try, though my PHP is rusty at best.

mokoboo 09-06-2004 01:04 AM

Need help here, I installed your hack, but since I did, the database is down... the forums shows "refresh" and VB database error...
Please help me :(

dfmafia 12-11-2004 04:42 PM

how would i go about having just the member of the day info on its own page so i can use
PHP Code:

<?php
include('/home/XXX/XXX/forums/member_of_the_day.php');
?>


Boofo 12-11-2004 04:49 PM

Quote:

Originally Posted by dfmafia
how would i go about having just the member of the day info on its own page so i can use
PHP Code:

<?php
include('/home/XXX/XXX/forums/member_of_the_day.php');
?>


Just run the cron job for it and then use a query to pull the info from the db. ;)

dfmafia 12-11-2004 05:27 PM

huh?

lol


this is where im putting it:
http://dfmafia.net/network.php

as you can c its not showing up (next to the news)

Boofo 12-11-2004 05:30 PM

Quote:

Originally Posted by dfmafia
huh?

lol

Since it is stored in the db, all you have to do is run the query for the info in the file you want to run for the new page. I use a query for it in my forumhome cache stats hack. The file is run by cron isn't it?

dfmafia 12-11-2004 05:33 PM

from the instructions:

################################################## ####################
# Scheduled tasks to add
################################################## ####################

In your admin control panel add a new scheduled task. Name it whatever you
want and set it to run in filename: ./includes/cron/memberoftheday.php


so i would do this:
PHP Code:

<?php
include('/home/XXX/XXX/forums/includes/cron/member_of_the_day.php');
?>


dfmafia 12-11-2004 05:35 PM

nah that didnt work

i dont want to use the format im using for the forums

thats y i made a .php page for it

i can get login info and recent posts but not member of the day info

boo.3 12-12-2004 12:31 AM

Quote:

Originally Posted by Gary King
I don't like the original look of this mod, because it was so big, took up too much space, and whatnot, so I changed it a bit.

What do you think of the way it looks now, on my forums? :)

ahh yours is 10x better could u PM me code?

Malke 12-15-2004 07:51 PM

Is there any way to edit this hack so that you just pick the member of the week yourself? By let's say entering a member-id somewhere or something?


All times are GMT. The time now is 10:48 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.01201 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (3)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
  • (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