Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #62  
Old 10-05-2006, 12:58 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when u run the scheduled task manually , would u mind copy pasting ther esults here ?
Reply With Quote
  #63  
Old 10-05-2006, 01:46 PM
bada_bing's Avatar
bada_bing bada_bing is offline
 
Join Date: Feb 2004
Location: Michigan
Posts: 1,698
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never mind figured it out.. It was a permissions issue

Any idea how to made this a block for vbadvance?
Reply With Quote
  #64  
Old 10-20-2006, 07:10 PM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have had this working great since I installed it shorty after its release. I'm just wondering is there any way I could pull the horoscopes from a different site?

If not I'll stick with what I got cause manual aint an option!
Reply With Quote
  #65  
Old 10-20-2006, 07:29 PM
lebanon lebanon is offline
 
Join Date: Jan 2005
Location: Lebanon
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by project-Buckfas
I have had this working great since I installed it shorty after its release. I'm just wondering is there any way I could pull the horoscopes from a different site?

If not I'll stick with what I got cause manual aint an option!
you can use vbhoroscopes v1 thats obtained for licensed members on my site only and gets horoscopes from astrology.com
Reply With Quote
  #66  
Old 10-22-2006, 04:39 AM
LostOne LostOne is offline
 
Join Date: Aug 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am a newbie at this but my members are really interested into having the horoscope installed.

I uploaded both the vbhoroscope folder and the addon daily/updatecontent/ and I can't seem to make it work.

The horoscope is the only of the two that shows up in my manager.
When I do the run command I get this:

Quote:
cron_horoscopes

Warning: main(/home/whedonve/public_html/forum/./includes/cron/gethoroscopes.php) [function.main]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 108

Warning: main() [function.include]: Failed opening '/home/whedonve/public_html/forum/./includes/cron/gethoroscopes.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /admincp/cronadmin.php on line 108

Done
The address where it supposedly shows from my file manager is here:
http://www.whedonverseandbeyond.net/...horoscopes.php
But it appears blank.

It seems that my file has too many folders before getting to the meat and bone in comparison to yours.

Again I am a newbie, can I have a more detailed set of installation information?

Sorry for the hassle and thanks in advance.

And how do I add the daily update again?
Reply With Quote
  #67  
Old 11-16-2006, 12:12 AM
SparKeh SparKeh is offline
 
Join Date: May 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent hack! all working well here!

I was hoping to add a link in breadcrumbs under private messages saying "view your horoscope" or something, and once clicked it automatically takes the user to dailyhoroscopes.php?sign=gemini for example. How would I get the code to work out the users star sign from their date of birth?
Reply With Quote
  #68  
Old 01-19-2007, 04:03 PM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed and when run in sccheduled tasks, I get this message :
Quote:
cron_horoscopes
The file ./dailyhoroscopes/aries.txt is not writableThe file ./dailyhoroscopes/taurus.txt is not writableThe file ./dailyhoroscopes/gemini.txt is not writableThe file ./dailyhoroscopes/cancer.txt is not writableThe file ./dailyhoroscopes/leo.txt is not writableThe file ./dailyhoroscopes/virgo.txt is not writableThe file ./dailyhoroscopes/libra.txt is not writableThe file ./dailyhoroscopes/scorpio.txt is not writableThe file ./dailyhoroscopes/sagittarius.txt is not writableThe file ./dailyhoroscopes/capricorn.txt is not writableThe file ./dailyhoroscopes/aquarius.txt is not writableThe file ./dailyhoroscopes/pisces.txt is not writable

Done
here http://theneighborhoodpub.com/dailyhoroscopes.php I get this:

Quote:
Warning: main(./dailyhoroscopes/nosign.txt) [function.main]: failed to open stream: No such file or directory in /dailyhoroscopes.php on line 83

Warning: main(./dailyhoroscopes/nosign.txt) [function.main]: failed to open stream: No such file or directory in /dailyhoroscopes.php on line 83

Warning: main() [function.include]: Failed opening './dailyhoroscopes/nosign.txt' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /dailyhoroscopes.php on line 83
what did I do wrong?
Reply With Quote
  #69  
Old 01-19-2007, 10:22 PM
TTG's Avatar
TTG TTG is offline
 
Join Date: May 2004
Location: Sth London
Posts: 1,042
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working well .. thanks lebanon

Clicked install
Reply With Quote
  #70  
Old 01-20-2007, 09:46 AM
project-Buckfas project-Buckfas is offline
 
Join Date: Jul 2006
Location: Ireland
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to set permissions (chmod) to 777

Quote:
Originally Posted by thepub View Post
I installed and when run in sccheduled tasks, I get this message :


here http://theneighborhoodpub.com/dailyhoroscopes.php I get this:



what did I do wrong?
Reply With Quote
  #71  
Old 01-20-2007, 12:46 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so the daily horoscope is updated from your site ? i assume by this way it can only be dispayed in english
Reply With Quote
Reply

Thread Tools

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 03:41 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.05095 seconds
  • Memory Usage 2,305KB
  • Queries Executed 27 (?)
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
  • (5)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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