vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   New Posting Features - Control User Post Font via Profile Options (https://vborg.vbsupport.ru/showthread.php?t=175282)

ChU v2 04-21-2008 06:01 PM

Quote:

Originally Posted by za3bour (Post 1495582)
it did work :D man i thought the first field was for font type and the second is for size

now it works just perfect . what a great hack :cool: if you could please change it in Quote as well that would be great.

Thanks again


Glad you got it, I planning on working on that when I get the time! Thanks for your feedback.

FLMom 05-04-2008 12:32 AM

Quote:

Originally Posted by CrashfAB (Post 1490895)
Here is an example. The dull pink is using the hack and the brighter is using the editor when you make a post

I just added deeppink to my group and it works fine :D

FLMom 05-04-2008 12:33 AM

I am having an issue with size.
Here is my code:

Code:

<!-- message -->
  <div id="post_message_$post[postid]">
<!--Custom Font-->
<if condition="$post['field17'] OR $post['field18'] OR $post['field19'] OR $post['field20'] OR $post['field21'] OR $post['field22']">
<span style="font: $post[field17]px $post[field19]; color: $post[field18]; font-weight: $post[field20]; font-style: $post[field21]; text-decoration: $post[field22];">$post[message]</strong></span>
<else />
$post[message]
</if>
<!--/Custom Font-->

Can you please tell me what I have done wrong and why it won't work? I am on 3.7.0

Thanks!

FLMom 05-04-2008 02:37 AM

Also, some of my members can't see the colored fonts. I thought maybe it was because they were on Firefox, but I use that a lot and could still see it. Any ideas?

Thanks!

ChU v2 05-04-2008 03:49 PM

Quote:

Originally Posted by FLMom (Post 1507523)
I am having an issue with size.
Here is my code:

Code:

<!-- message -->
  <div id="post_message_$post[postid]">
<!--Custom Font-->
<if condition="$post['field17'] OR $post['field18'] OR $post['field19'] OR $post['field20'] OR $post['field21'] OR $post['field22']">
<span style="font: $post[field17]px $post[field19]; color: $post[field18]; font-weight: $post[field20]; font-style: $post[field21]; text-decoration: $post[field22];">$post[message]</strong></span>
<else />
$post[message]
</if>
<!--/Custom Font-->

Can you please tell me what I have done wrong and why it won't work? I am on 3.7.0

Thanks!

What issue are you having? Is the size just not working at all? Is it when you leave it default or select a font?

Quote:

Originally Posted by FLMom (Post 1507606)
Also, some of my members can't see the colored fonts. I thought maybe it was because they were on Firefox, but I use that a lot and could still see it. Any ideas?

As far as I've tested it works in both IE and Firefox.
Thanks!


FLMom 05-04-2008 04:11 PM

The size doesn't work at all. It's the same size no matter what the user chooses in edit options.

For the second part, I have tested in both Firefox and IE, it works for me, just not them. I don't even know what to tell them. Could it be a cookie issue? Should they try to clear their cookies?

Thanks for any help you can offer!

Cori

LoF 05-05-2008 11:38 AM

Very nice! Thanks!

I have a question: Can I translate it to Hebrew and post it in an Israeli vBulletin support forum? (vbheb.com)
With a credit to you and link to your profile - of course.

FLMom 05-06-2008 06:16 PM

Never mind....I figured it out on my own. Maybe you can elaborate more in the directions, looks like I wasn't the only one having trouble with size.

Either way, great hack! My members love it :D

ChU v2 05-07-2008 08:44 PM

Quote:

Originally Posted by LoF (Post 1509168)
Very nice! Thanks!

I have a question: Can I translate it to Hebrew and post it in an Israeli vBulletin support forum? (vbheb.com)
With a credit to you and link to your profile - of course.

Yes

Quote:

Originally Posted by FLMom (Post 1510778)
Never mind....I figured it out on my own. Maybe you can elaborate more in the directions, looks like I wasn't the only one having trouble with size.

Either way, great hack! My members love it :D

How so? What could you have used that would have made it an easier install?

DeLi_EsMeR 05-15-2008 12:56 AM

Thank you ;)


All times are GMT. The time now is 03:38 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.01052 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)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