vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Store Add-on: Font Colour (https://vborg.vbsupport.ru/showthread.php?t=50327)

sabret00the 03-17-2003 09:51 AM

Store Add-on: Font Colour
 
1 Attachment(s)
Basically i got very very irritated at the fact that the existing version by flame wasn't working so i took his code and fixed the bits that were messed up so really this is Flame's Hack, i deserve no credit anyway i got mostly everything working, all upto the final bit, it doesn't display the colour in the postbit, can someone help me fix it please, i got this far i'd hate to fail now!

/me curses for the fact the hack didn't just work in the first place

/me curses more that i need help to fix it

sabret00the 03-17-2003 09:47 PM

*bump for american audiences*

flame 03-24-2003 09:14 AM

in your instructions, you are missing this change (tho i may have missed it as well)

Code:

find (around line 28 of store.php):
$user++++ = $DB_site->query_first("SELECT userid,username,storep,usertitle,glow,italic FROM user WHERE userid=$bbuserinfo[userid]");

Replace with:
$user++++ = $DB_site->query_first("SELECT userid,username,storep,usertitle,glow,italic,fcolour FROM user WHERE userid=$bbuserinfo[userid]");

tho the above change should only affect the colour working ing store.php

did you make the correct changes in admin/functions.php these are the ones that call the templates for the postbit other than that i dont see any other reason why fonts arnt working

Flame

sabret00the 03-25-2003 02:39 PM

thanks flame, wondered where you got to, i will check out the functions code

Ice Effect69 04-01-2003 10:04 PM

damn i can't get neither of these two work

sabret00the 04-02-2003 04:39 PM

what aint working exactly?


All times are GMT. The time now is 09:00 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.01058 seconds
  • Memory Usage 1,716KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete