vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Personal Font for users in messages (https://vborg.vbsupport.ru/showthread.php?t=60065)

mcyates 11-24-2004 10:52 AM

Quote:

Originally Posted by mcyates
When I add this to to admincp/user.php I get a parse error:
// USER FONT MESSAGE GROG6
print_table_header($vbphrase['police_police']);
print_textarea_row($vbphrase['font_box'], 'font', $user['font'], 5, 40);
print_table_break('', $INNERTABLEWIDTH);

great hack installed only with the above problem, everthing else works fine.

code-frog 04-06-2005 07:31 AM

Just put this into 3.0.7 with no trouble at all. Works as advertised.

TranceMaster 04-08-2005 12:37 AM

how do you go about only allowing admins to use this feature??

TranceMaster 04-08-2005 01:03 AM

Quote:

Originally Posted by mcyates
great hack installed only with the above problem, everthing else works fine.

ill second that, im also having that problem

code-frog 04-08-2005 01:38 AM

Wish I could help. I elected to not use the admin panel part. So I stopped right above and it works great for my users.

I'm building a full test board soon. If I get to it before you get an answer I'll let you know.

- Rex

TranceMaster 04-08-2005 01:54 AM

Quote:

Originally Posted by code-frog
Wish I could help. I elected to not use the admin panel part. So I stopped right above and it works great for my users.

I'm building a full test board soon. If I get to it before you get an answer I'll let you know.

- Rex

thanks for the reply buddy
any ideas about the only allowing admins or a certain usergroup access to it.

TranceMaster 04-08-2005 10:53 PM

ok after more thinking
this is what id like
for this hack not to be available in members options, and only available to admins within the admincp
that way, i can assign this very nice feature only to members of my choosing.

hows that sound?
is that possible?

Blootix 04-09-2005 06:06 AM

Quote:

Originally Posted by mcyates
great hack installed only with the above problem, everthing else works fine.

What I did was this:

In usercp.php, I added the
PHP Code:

// USER FONT MESSAGE GROG6
    
print_table_header($vbphrase['police_police']);
    
print_textarea_row($vbphrase['font_box'], 'font'$user['font'], 540);
    
print_table_break(''$INNERTABLEWIDTH); 

above the
PHP Code:

// USER IMAGE SECTION
    
print_table_header($vbphrase['image_options']);
    if (
$user['avatarid'])
    {
        
$avatarurl'../' $user['avatarpath'];
    } 

and it works perfectly. Try it see if it works.

BoYagoob 10-05-2005 08:02 PM

Is it available for 3.5.0?

normandyq8 10-15-2005 02:18 AM

Quote:

Originally Posted by BoYagoob
Is it available for 3.5.0?


I need it too


All times are GMT. The time now is 04:37 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.01058 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (5)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