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
  #72  
Old 02-27-2007, 07:52 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice **INSTALLED** couple days ago - forgot to mark :blush:
Thanx for the sharing!

Jacquii.
Reply With Quote
  #73  
Old 02-27-2007, 12:56 PM
MrPHD's Avatar
MrPHD MrPHD is offline
 
Join Date: Feb 2006
Location: Portugal
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Work, Done and running. Thanks
Reply With Quote
  #74  
Old 03-28-2007, 09:05 PM
Icehawk002's Avatar
Icehawk002 Icehawk002 is offline
 
Join Date: Jun 2005
Location: United Kingdom
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How is the update coming along?
Reply With Quote
  #75  
Old 03-29-2007, 04:00 PM
wengi's Avatar
wengi wengi is offline
 
Join Date: Aug 2006
Location: Malta
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marked as installed but waiting for update to install it ....Awsome hack thnks

Regards
Wengi
Reply With Quote
  #76  
Old 03-29-2007, 04:29 PM
WAHMama WAHMama is offline
 
Join Date: Jun 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just grabbed it and installed...very nice hack just hope there will be a way for it to update on its own instead of me having to go in and change it everyday
Reply With Quote
  #77  
Old 04-08-2007, 03:54 PM
Doc31's Avatar
Doc31 Doc31 is offline
 
Join Date: Sep 2006
Location: Australia
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In Answer to your question

Quote:
Originally Posted by SnapOff Racing View Post
any updates?

also, any idea why it shows every sign except sagittarius in the postbit?
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
Reply With Quote
  #78  
Old 05-10-2007, 12:34 AM
Daky Daky is offline
 
Join Date: Aug 2006
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to make for Moderator (Global Moderators) or Specific user group to be able to edit Horoscopes?

... as i see it now, only Administrator with Settings changes permissions are able to make changes to horoscopes (add\delete them etc).

Thanks
Reply With Quote
  #79  
Old 05-11-2007, 05:12 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this isn't showing up in the admin cp?? what am i doing wrong?
Reply With Quote
  #80  
Old 05-11-2007, 10:42 PM
Aimee1969 Aimee1969 is offline
 
Join Date: Apr 2007
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help....thank you.
Reply With Quote
  #81  
Old 05-12-2007, 02:26 AM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aimee1969 View Post
this isn't showing up in the admin cp?? what am i doing wrong?
Make sure you upload all the files correctly, namely the xml file for the cp_nav and make sure the chmod permissions on the file are correct.
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:36 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.14264 seconds
  • Memory Usage 2,318KB
  • 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
  • (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
  • (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