vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - T-VBhoroscopes Addon -daily updated content (https://vborg.vbsupport.ru/showthread.php?t=127387)

lebanon 09-23-2006 10:00 PM

T-VBhoroscopes Addon -daily updated content
 
This is a quick vb-horoscopes feature to add to your forum.
I just made this and tested it on my forum, working fine as shown demo below

Requirements:
php fopen on
ADDED : IF fopen is not ON on your webserver , download the second zip file called gethoroscopes.php and replace the one in your cron folder with this one that uses Curl instead of fopen.
Installation :
-Upload the files to their respective locations
-Install the product using the VBulletin product manager
Your done !

You can test your script directly by going to your scheduled task
and using "RUN NOW" you should see the script output and then you
can go check your page at http://urforum/dailyhoroscopes.php


License :
- Your are allowed to query our website using the cronjob once everyday
Leave on default installation and you will not be breaking any rule, or only change the HOUR and MINUTE of runtime.
- You can freely modify the template the way you wish, all you need is
to leave the $result reference where you want it for the script to function
I will also appreciate if you share us with your modified template !

- You are required to keep the copyright text in your template, however if
you prefer to remove it, you can only do that after contacting me and recieving permission to do so ( free of charge ofcourse )

DEMO
http://www.tchatting.com/forum/dailyhoroscopes.php
or choose a sign
http://www.tchatting.com/forum/daily...php?sign=aries

If you use this and wish to recieve support please click INSTALL

Keyser S?ze 09-23-2006 11:22 PM

pretty neat, would it be possible for it to read your birthday and put ur horascope in ur profile?

lebanon 09-23-2006 11:23 PM

havent done that yet, as i said i only did it today , and i did lack ideas :D
So here is a first idea from u ( noted ) !
regards

DementedMindz 09-23-2006 11:38 PM

Nice mod but dont like the fact that it has to query your website. What happens if your site goes down? Then the mod is useless basiclly.

Keyser S?ze 09-23-2006 11:46 PM

i can understand why as it needs to be updated of course, but i do agree that can be a problem, also if u site is going slow it will make everyone elses go slow as well

lebanon 09-23-2006 11:48 PM

Although this is the whole idea which is the free daily content, plus i might add a mirror website in the next day for guaranteed uptime , as i do have 3 dedicated servers i can use...

however what u said is true, u dont have to do that ! simply disable the cron
And you have the choice to update your Horoscopes TXTs found in your
forum/dailyhoroscopes/sign.txt . regards

Gripemaster 09-23-2006 11:56 PM

*INSTALLED* Thank you! Very nice. :)

dodgeboard.com 09-24-2006 12:43 AM

How can I add this to vBa CMPS?

Zia 09-24-2006 03:46 AM

ah man Lebnanon..

atlast u changed ur mind ..:)
thanx to release it here...

Allan 09-24-2006 05:22 AM

Good idea :)

exist it for French version ?


All times are GMT. The time now is 08:33 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.01173 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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