Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
T-VBhoroscopes Addon -daily updated content Details »»
T-VBhoroscopes Addon -daily updated content
Version: 1.00, by lebanon lebanon is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.1 Rating:
Released: 09-23-2006 Last Update: Never Installs: 76
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 09-29-2006, 07:31 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oberheimhaven , that solves the problem , so i will later on update a file with Curl functions instead of fopen, which will give u same results and all you have to do is replace the cron file then.
Ill update the attachment later , i just dont have time this hour so maybe later tonight or tomorrow
regards
Reply With Quote
  #53  
Old 09-29-2006, 07:50 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks mate!!!! for doing this not ur fault great hack its my host wont allow thank you again send paypal i will donate for the trouble!!!
Reply With Quote
  #54  
Old 09-30-2006, 01:41 AM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the offer but its okey, am doing this in my free time no more.
You can download the second attachment now , and replace the gethoroscopes.php file in your cron folder , and this should work since your host said it would regards
Reply With Quote
  #55  
Old 09-30-2006, 04:49 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lebanon
Thanks for the offer but its okey, am doing this in my free time no more.
You can download the second attachment now , and replace the gethoroscopes.php file in your cron folder , and this should work since your host said it would regards
B E A Ufitullllllllllll are u sure no donate? I will, thanks mate That worked right on!! Once again thank you for the awesome hack your understanding and the extra work to get this to work for me =priceless!!
Thxs
MarkAnthony
Reply With Quote
  #56  
Old 09-30-2006, 07:48 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason, when I click on the sign it show blank. It seem is not update.
Here my link:

http://www.khmerclub.org/dailyhoroscopes.php?sign=libra
Reply With Quote
  #57  
Old 09-30-2006, 08:11 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

angkor408 , did u check if fopen is ON ? if its not on , download the second attachment and replace gethoroscopes.php in ur cron folder.
Then for the first time , u must RUN the cron Manually OR wait till its cron excute time ...
Reply With Quote
  #58  
Old 09-30-2006, 08:37 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Labanon, thank for your respond. Where can I turn fopen option to ON? Is that in my Vbulletin option? Under Schedule task manager I dont see anything that say " CRON" Do I have to manually add new task?

Also I had download the this file "gethoroscopes.php" but I got a blank page when I go to http://www.khmerclub.org/gethoroscopes.php

Here what I have in my schedule task Manager:

Hourly Cleanup
User Promotions
Event Reminder
Thread Views
Hourly Cleanup
Attachment Views
Restore Temporarily Banned
Daily Statistics Log
Happy Birthday Email
Subscriptions
Daily Digest
Activation Reminder Email
Weekly Digest


Does this work for VB 3.5? Maybe that he issue.
Reply With Quote
  #59  
Old 09-30-2006, 09:52 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well it should work yes , but i did specify in the cron that it should require 3.6 as minimal version .
So here is what i advice u to do to insure it works both ways.
First
Do upload the second attachment and replace the gethoroscopes.php file in ur cron folder.
Second , in cron manager , scheduled tasks , Manually add a cron
every day , at hour 6 , minute 10
disable logging if u dont need it
in the path section replace tha last .php with gethoroscopes.php
and click apply , then do RUN the task first time manually to verify it worked .
After that the rest should go automatic.
Reply With Quote
  #60  
Old 09-30-2006, 10:02 PM
angkor408's Avatar
angkor408 angkor408 is offline
 
Join Date: Jul 2006
Location: California
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lebanon, Thank for your help. Under my schedule task manager >>>> I had edit in the path section replace tha last .php with gethoroscopes.php it's working. Than You.


http://www.khmerclub.org/dailyhoroscopes.php
Reply With Quote
  #61  
Old 10-05-2006, 12:44 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lebanon
well it should work yes , but i did specify in the cron that it should require 3.6 as minimal version .
So here is what i advice u to do to insure it works both ways.
First
Do upload the second attachment and replace the gethoroscopes.php file in ur cron folder.
Second , in cron manager , scheduled tasks , Manually add a cron
every day , at hour 6 , minute 10
disable logging if u dont need it
in the path section replace tha last .php with gethoroscopes.php
and click apply , then do RUN the task first time manually to verify it worked .
After that the rest should go automatic.
I have done this exacly and the cron ran with no errors but when I go to view a horoscope no data is being populated... What now?
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 10:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04699 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete