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
Horoscopes Hack v1.5 Details »»
Horoscopes Hack v1.5
Version: 1.5, by Mr_Snob Mr_Snob is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-16-2007 Last Update: 01-16-2007 Installs: 54
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

Daily Horoscopes Hack v1.5 by HASANN

What does it? : you can/must edit your daily horoscopes every days via admincp > Horoscopes > Horoscopes Manager

-version 1.5: (whats new in this version):
-- Postbit and Profile Horoscope Sign View : calculate which your user is by their birthday and bold their sign view
---fully phrased

Instructions: Upload all files into forum folder and import product-horoscopes.xml via Product/Plugin Manager


Open Your Postbit_Legacy Template And Search For This Code

HTML Code:
<if condition="$post['age']"><div><strong>$vbphrase[age]:</strong> $post[age]</div></if>
Add Below This Code

HTML Code:
<if condition="$show['horoscopesign']"><div>$horoscopesign</div></if>
Save - Done


Open Your MEMBERINFO Template And Search For This Code
HTML Code:
$customfields
Add Above This Code
HTML Code:
<if condition="$show['horoscopesign']"><div>$horoscopesign</div></if><br>
Save - Done


Open Your Navbar Template and Search For This Code
HTML Code:
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
Add Above This Code

HTML Code:
<td class="vbmenu_control"><a href="horoscopes.php$session[sessionurl_q]">$vbphrase[horoscopes]</a></td>
Save - You Are Done

IF YOU LIKE IT, PLEASE CLICK TO INSTALL

Supporters / CoAuthors

Show Your Support

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

Comments
  #82  
Old 05-18-2007, 07:14 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay...let me look
Reply With Quote
  #83  
Old 05-18-2007, 08:08 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks...I think I figured it out you helped !
Reply With Quote
  #84  
Old 06-26-2007, 01:08 AM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Doc31 View Post
In Answer to your question



The Author of this hack made a little spelling mistake in the product , we installed this plugin and wondered why every sagittarius wasnt showing up in the post bit all the others were working so here is the code fix for people that want it to show up need to know.

in the file product-horoscopes.xml

Find
Code:
case '11':
		{
			$horoscopesign .= ($bday[1] < 22) ? ($vbphrase['scorpio']) : ($vbphrase['sagittarious']);
			break;
		}
		case '12':
		{
			$horoscopesign .= ($bday[1] < 21) ? ($vbphrase['sagittarious']) : ($vbphrase['capricorn']);
			break;
		}

	}


Replace with
Code:
case '11':
		{
			$horoscopesign .= ($bday[1] < 22) ? ($vbphrase['scorpio']) : ($vbphrase['sagittarius']);
			break;
		}
		case '12':
		{
			$horoscopesign .= ($bday[1] < 21) ? ($vbphrase['sagittarius']) : ($vbphrase['capricorn']);
			break;
		}

	}
This will fix the sagittarius sign and make it show in the postbit template
I am having a problem getting sagittarius to show, I have done as said above and reuploaded the xml file but sagittarius is still not showing, any help is greatly appreciated.
Reply With Quote
  #85  
Old 06-28-2007, 11:29 AM
shlomot's Avatar
shlomot shlomot is offline
 
Join Date: Apr 2007
Location: Haifa, Israel
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello everyone,

As an Astrology Researcher and the owner of a popular astrology-related website, I understand Hasann's and Mr_Snob's challenge to find rights-free, quality daily horoscopes to bring to the table.

Since I feel that this hack is almost impossible to handle with daily manual updates, yet once a solution is found, it is sure to become a great magnet for repeat visits - I'm willing to write (together with my staff) the daily feeds. The feeds will be structured according to the instructions that I'll be getting from the programmers.

However, there are two conditions:

a) The script must allow for group permissions. On my forum, only members should be allowed to access the daily horoscopes.

b) The text should include a credit box. I.E. I would like to include a reference to my website(s): either Relationships Analyst or Relationships Forums. That will be our reward for providing and serving the feeds.

What say ya'?
Reply With Quote
  #86  
Old 06-28-2007, 11:34 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think those are totally acceptable conditions!!

Even the link I wouldn't mind at all.
Reply With Quote
  #87  
Old 06-28-2007, 11:39 AM
shlomot's Avatar
shlomot shlomot is offline
 
Join Date: Apr 2007
Location: Haifa, Israel
Posts: 246
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx View Post
I think those are totally acceptable conditions!!

Even the link I wouldn't mind at all.
Thanks. I guess that we need to hear from the programmers first.
Reply With Quote
  #88  
Old 06-28-2007, 12:10 PM
WEBDosser's Avatar
WEBDosser WEBDosser is offline
 
Join Date: Oct 2001
Location: @ MyPC
Posts: 824
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no link options?..
Reply With Quote
  #89  
Old 06-28-2007, 02:55 PM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go ahead this would be very useful.
Reply With Quote
  #90  
Old 09-19-2007, 10:33 AM
soulface's Avatar
soulface soulface is offline
 
Join Date: Sep 2005
Location: Dhaka, BD
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr_Snob View Post
here are some screenshots
i am not yet finished maybe i'll release it tomorrow..
still waiting to this update....! looks like it wont be available anytime soon :/
Reply With Quote
  #91  
Old 10-19-2007, 04:56 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did he go on vacation?.......Its been months
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 06:41 PM.


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.05193 seconds
  • Memory Usage 2,311KB
  • Queries Executed 26 (?)
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_code
  • (6)bbcode_html
  • (3)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
  • (3)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_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