vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Styles for Premium Members (https://vborg.vbsupport.ru/showthread.php?t=48953)

amykhar 05-15-2003 07:19 PM

That would be a bit trickier. I can't guarantee that I will look into it anytime soon because I am rather swamped at work.

Amy

corsacrazy 05-15-2003 07:24 PM

^ no probs :D

Kohhal 06-24-2003 11:52 AM

Nice hack, using it so I can work on new styles in private :D

corsacrazy 06-24-2003 12:37 PM

^ same :p

Blood Lust 09-04-2003 03:19 PM

I am getting a parse error

Parse error: parse error in /home/thelega/public_html/forum/admin/style.php on line 587

I am running 2.3.2

$styleinfo=$DB_site->query_first("SELECT templatesetid,replacementsetid,title FROM style WHERE styleid='$dostyleid'");

line 587= echo "<p>"<b>$styleinfo[title]</b>""
.makelinkcode("edit style properties","style.php?s=$session[sessionhash]&action=edit&editstyleid=$dostyleid")
.makelinkcode("edit replacements","replacement.php?s=$session[sessionhash]&action=modify&expandset=$styleinfo[replacementsetid]")
.makelinkcode("edit templates","template.php?s=$session[sessionhash]&action=modify&expandset=$styleinfo[templatesetid]")
."</p>\n";

Can anyone help me please?

amykhar 09-04-2003 03:56 PM

You can't use double quotes inside double quotes like that on line 587. If you use "" to designate a string, you should use ' ' inside the string and not ""

Amy

Blood Lust 09-04-2003 04:36 PM

thank you thank you thank you :D

jp2 10-25-2003 11:17 AM

question: would it be posible to set it so that after a set number of posts the style changes?

SWFans.net 10-26-2003 08:06 PM

Quote:

Originally Posted by amykhar
I did not incorporate it into register.php because my members have to register first before they can become premium members. The paypal integration requires that their username already exist. Therefore, people registering can only choose from the non-premium styles.

Would you happen to have a releasable version of a paypal integration hack? That would be so sweet to have. :D

amykhar 10-26-2003 08:34 PM

It was a crude system that I never released for security reasons. I now use vbulletin 3, which has it built in. Sorry. Y'all really should upgrade to 3 if you want the features that 3 has.


All times are GMT. The time now is 01:55 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.01079 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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