vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Customize login page for admincp? (https://vborg.vbsupport.ru/showthread.php?t=186806)

kpmedia 07-30-2008 11:03 PM

Customize login page for admincp?
 
I want to add some custom text to the admincp login page. I'm having trouble finding where that is to edit. I assume it's a core PHP file, maybe something else not found in styles (that can be edited within the admincp itself).

Triky 07-31-2008 08:43 AM

Try editing the forumfolder/admincp/index.php file.

Opserty 07-31-2008 08:45 AM

Or try editing the Phrases.

Languages & Phrases > Search in Phrases > (Enter some of the text in the first box)

kpmedia 08-01-2008 02:52 AM

I want to outright alter the login page:
  • Remove/replace the image (change from the default vB image to the logo of the site)
  • Remove the footer text from that page (The page is broken at the moment, my footer works fine everywhere BUT on this page, so it barfs HTML code on screen for no reason. I think the login page needs a fixing of some kind.
  • Add some text below the text box

It shows
Code:

" border="0" />
on screen at the moment.

I don't see it on the admincp/index.php -- I don't see how editing phrases will assist in changing the formatting of the page. Surely this exists somewhere in a page? I'm not seeing it.

--------------- Added [DATE]1217563321[/DATE] at [TIME]1217563321[/TIME] ---------------

Nevermind, I found it.

It's in /includes/adminfunctions.php

Code:

                <!-- logo and version -->
                <table cellpadding="4" cellspacing="0" border="0" width="100%" class="navbody">
                <tr valign="bottom">
                        <td><img src="../cpstyles/<?php echo $vbulletin->options['cpstylefolder']; ?>/cp_logo.gif" alt="" title="<?php echo $vbphrase['vbulletin_copyright']; ?>" border="0" /></td>
                        <td>
                                <b><a href="../<?php echo $vbulletin->options['forumhome']; ?>.php"><?php echo $vbulletin->options['bbtitle']; ?></a></b><br />
                                <?php echo "vBulletin " . $vbulletin->options['templateversion'] . " $pagetitle"; ?><br />
                                &nbsp;
                        </td>
                </tr>

I altered that, replacing the logo, fixing the coding error, and adding some instructions for the other admins.

Opserty 08-01-2008 08:50 AM

I told you to edit phrases because you said:
Quote:

I want to add somecustom text to the admincp login page.
Which can be done through phrases. ;)


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