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 - Horoscopes Hack v1.5 (https://vborg.vbsupport.ru/showthread.php?t=136719)

PoetJA-1975 02-27-2007 07:52 AM

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

Jacquii.

MrPHD 02-27-2007 12:56 PM

Nice Work, Done and running. Thanks

Icehawk002 03-28-2007 09:05 PM

How is the update coming along?

wengi 03-29-2007 04:00 PM

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

Regards
Wengi :D

WAHMama 03-29-2007 04:29 PM

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

Doc31 04-08-2007 03:54 PM

In Answer to your question

Quote:

Originally Posted by SnapOff Racing (Post 1178149)
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 :)

Daky 05-10-2007 12:34 AM

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

Aimee1969 05-11-2007 05:12 PM

this isn't showing up in the admin cp?? what am i doing wrong?

Aimee1969 05-11-2007 10:42 PM

please help....thank you.

snakes1100 05-12-2007 02:26 AM

Quote:

Originally Posted by Aimee1969 (Post 1245721)
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.


All times are GMT. The time now is 11:59 AM.

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.01141 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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