vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to Change the word Mod in forumhome footer (https://vborg.vbsupport.ru/showthread.php?t=173853)

mystic10 03-22-2008 05:49 PM

how to Change the word Mod in forumhome footer
 
i want to change the word mod in my forumhome footer

you know all the way at the bottom of the page u see : contact - Admin - Mod - well the word mod i want to change to something else...is it possible if so how do i to about doing that

ok so i found the link in the footer
<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if>

was trying to change the vbphrase [mod] to [YC STaFF CP] when i tried that it said error...

this is the error it give when i click the save button

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/yahoocit/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 54

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
------------------------
Q. 2

HAVE ANOTHER ONE..DONT WANT TO OPEN NEW THREAD AS ITS SIMILAR :

I WENT TO USERGROUP AND FOR ADMIN I CLICKED ON NO FOR ENTERING ADMIN PANEL...WHEN I TRIED TO SAVE IT IT SAID INVALID USERGROUP SPECIFIED

HOW CAN I MAKE IT SO ADMIN COME THROUGH MOD PANEL..IT WOULD BE VERY KIND IF U CAN ANSWER THAT


----------------------------

thanks so much for ur help in advance

p.s tried looking for it before post sorry if it already exsist

MrEyes 03-22-2008 08:43 PM

The word "mod" is phrased which means you have two options:

1) The Proper Way

Via ACP -> Languages & Phrases

Search for the term "mod" using "Phrase Variable Name Only" it will bring up loads of results but somewhere in the list you will find it, from their you can edit it to whatever you want. This means that where the phrase "Mod" is used on your site it will displayed you selected text

2) The quick hacky way

Change this:

PHP Code:

<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">$vbphrase[mod]</a> -</if> 

to this

PHP Code:

<if condition="$show['modcplink']"><a href="$modcpdir/index.php?$session[sessionurl]">YC STaFF CP</a> -</if> 

This will just change the footer and nothing else

mystic10 03-23-2008 04:48 PM

YEAH I FIGURED IT OUT I TRIED IT USING LANGUAGES AND PHRASES....I TRIED TO DO IT UR 2ND WAY..BUT MY ONLY MISTAKE WAS I INCULED THE WORD VBPHRASE AND BRACKETS THATS WHY GOT MESSED UP...THANKS SO MUCH FOR THAKING TIME TO ANSWER MY QUESTION


HAVE ANOTHER ONE..DONT WANT TO OPEN NEW THREAD AS ITS SIMILAR :

I WENT TO USERGROUP AND FOR ADMIN I CLICKED ON NO FOR ENTERING ADMIN PANEL...WHEN I TRIED TO SAVE IT IT SAID INVALID USERGROUP SPECIFIED

HOW CAN I MAKE IT SO ADMIN COME THROUGH MOD PANEL..IT WOULD BE VERY KIND IF U CAN ANSWER THAT


All times are GMT. The time now is 03:27 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.00936 seconds
  • Memory Usage 1,721KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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