FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Forum Styles » Another Header Question
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Another Header Question [message #166661] Mon, 06 February 2012 18:03 Go to next message
pips is currently offline  pips
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Hello Chaps, I'm only a low level user but i'm looking to spruce up our forum and want to discuss a few things. I've searched high and low and have hit a brick wall

A)can you confirm i am doing this correctly?
To change the Banner picture (The bit that says welcome above), simply go into the "Files" option on the admin panel, upload an suitable image to the Themes directory, then edit the Header.tmpl and change the link from (Header.jpg/gif etc) to your uploaded picture and rebuild.

B) I want to Change the forum name (Eg- Fudforum at the top of this page) and Change the description (eg the bit under the name - Fast uncomprimising Discussions Fud forum will....)

I can see in the header.tmpl
<title>{GVAR: FORUM_TITLE}{VAR: TITLE_EXTRA}</title>

But i also know that in Globals.PHP you have $Forum_name & $Forum Description.

I think its the $forum name and $forum description that changes the above, but i'm not really sure. If it isnt, then how do i do it via the templates If it is, does that mean i have to download a Php editor, change the values and then simply upload back, overwriting the old globals.php file?

Or should i not bother? Laughing


Seriously, though, its bugging me how to do this. I'm sure its fairly simple, its not like i want to add anything Funky Confused

Appreciate any answers if poss,

Very Happy
Re: Another Header Question [message #166662 is a reply to message #166661] Tue, 07 February 2012 05:24 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
A. That would do it! Though I believe you would be better off not changing the file name at all just replacing the image while using the same name (I remove the image all together by commenting out header.gif in my header.tmpl )


B. Don't bother? Just go to admin panel > Global Settings Manager and edit (Forum Title: and Forum Description:)


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166663 is a reply to message #166662] Tue, 07 February 2012 05:52 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
A) Thanks very much


B. Don't bother? Just go to admin panel > Global Settings Manager and edit (Forum Title: and Forum Description:)

I've done this and its not changing any of the Text at the Top Confused

Re: Another Header Question [message #166664 is a reply to message #166663] Tue, 07 February 2012 06:03 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
pips wrote on Tue, 07 February 2012 04:52
A) I've done this and its not changing any of the Text at the Top Confused


Well that's no fun is it?

I imagine you either didn't "SET" it or you are looking at a cached copy that should work!


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166665 is a reply to message #166664] Tue, 07 February 2012 06:16 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
The Witcher wrote on Tue, 07 February 2012 11:03
pips wrote on Tue, 07 February 2012 04:52
A) I've done this and its not changing any of the Text at the Top Confused


Well that's no fun is it?

I imagine you either didn't "SET" it or you are looking at a cached copy that should work!


Hit the Set button, and cleared the cache.

The values $Forum_Name and $Forum_Decr have not changed int he Globals.PHP file.

Do i need to debug or run consistancy checks, or is the Globals.php file locked up in some way?

Sorry to ask all the questions Smile
Re: Another Header Question [message #166666 is a reply to message #166665] Tue, 07 February 2012 06:29 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{DIR}" lang="{LANG}" xml:lang="{LANG}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
<title>{GVAR: FORUM_TITLE}{VAR: TITLE_EXTRA}</title>
<meta name="description" content="{IF: !empty($META_DESCR)}{VAR: META_DESCR}{ELSE}{GVAR: FORUM_DESCR}{END}" />
<base href="{FULL_ROOT}" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/lib.js"></script>
<link rel="stylesheet" href="{THEME_ROOT}/forum.css" type="text/css" media="screen" title="Default Forum Theme" />
<link rel="search" type="application/opensearchdescription+xml" title="{GVAR: FORUM_TITLE} Search" href="{FULL_ROOT}open_search.php" />
{VAR: RSS}
</head>
<body>
<table class="wa" border="0" cellspacing="3" cellpadding="5"><tr><td class="ForumBackground" valign="top">
<!-- {INJECTION_POINT: left_block}<td class="ForumBackground" valign="top"> -->
<div class="ForumBackground header">
{IF: $GLOBALS['FUD_OPT_1'] & 1 && $GLOBALS['FUD_OPT_1'] & 16777216}
<div class="headsearch">
<form id="headsearch" method="get" action="{ROOT}">{DEF: _hs}
<br /><label accesskey="f" title="{MSG: search_forum_search}">{MSG: search_forum_search}:<br />
<input type="text" name="srch" value="" size="15" placeholder="{MSG: search_forum_search}" /></label>
<input type="hidden" name="t" value="search" />
<input type="submit" name="btn_submit" value="{MSG: search}" class="headbutton" />&nbsp;
</form>
</div>
{ENDIF}
<a href="{ROOT}" title="{MSG: home}">
<img src="images/smiley_icons/Newheader.png" alt="" align="left" height="65" />
<span class="headtitle">{GVAR: FORUM_TITLE}</span>
</a><br />
<span class="headdescr">{GVAR: FORUM_DESCR}<br /><br /></span>
</div>


This is the header.tmpl

[Updated on: Tue, 07 February 2012 06:31]

Report message to a moderator

Re: Another Header Question [message #166667 is a reply to message #166666] Tue, 07 February 2012 06:54 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Further investigations.

Going into the Admin panel and changing the Forum Title and Description changes the Globals/php in the following location:
/vhosts/domain-name.com/httpdocs/fudforum/adm/Globals.php

Its NOT changing the Globals in this location:
/vhosts/nomad-forum.com/httpdocs/fudforum/Globals.php
(Which is where the actual Title and BLANK description is that i want to change)


This is odd Laughing Is our forum set up back to front and upside down Confused
Re: Another Header Question [message #166668 is a reply to message #166665] Tue, 07 February 2012 07:11 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
pips wrote on Tue, 07 February 2012 05:16

The values $Forum_Name and $Forum_Decr have not changed in the Globals.PHP file.

Do i need to debug or run consistancy checks, or is the Globals.php file locked up in some way?


No it shouldn't be locked, and once the title or description is changed and set it should display in your header!

The Globals.php should look something like this:
$FORUM_TITLE		= 'Forum Title';
$FORUM_DESCR		= 'Description'; 

I'm wondering why you refer to "$Forum_Name and $Forum_Decr" I see them as "$FORUM_TITLE and $FORUM_DESCR" in the Globals.PHP file using ver3.0.3.

Running consistency checks couldn't hurt but it still seems odd that your header isn't updating, mine does so instantly.




"I'm a Witcher, I solve human problems; not always using a sword!"

[Updated on: Tue, 07 February 2012 07:12]

Report message to a moderator

Re: Another Header Question [message #166669 is a reply to message #166668] Tue, 07 February 2012 07:17 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
You are correct, i got the names wrong.

I shall run a consistancy check and revert....
Re: Another Header Question [message #166670 is a reply to message #166669] Tue, 07 February 2012 07:28 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Run a consistancy check.
No change.


I appreciate your help here. btw Smile


I'm not sure what to do now Laughing
Re: Another Header Question [message #166671 is a reply to message #166670] Tue, 07 February 2012 08:06 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Well it looks to me like you need to figure this out:

/vhosts/domain-name.com/httpdocs/fudforum/adm/Globals.php -VS- /vhosts/nomad-forum.com/httpdocs/fudforum/Globals.php

I don't know how your host system works but that don't look right to me, yet I can't exactly place it right now.




"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166672 is a reply to message #166671] Tue, 07 February 2012 08:19 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
The Witcher wrote on Tue, 07 February 2012 13:06
Well it looks to me like you need to figure this out:

/vhosts/domain-name.com/httpdocs/fudforum/adm/Globals.php -VS- /vhosts/nomad-forum.com/httpdocs/fudforum/Globals.php

I don't know how your host system works but that don't look right to me, yet I can't exactly place it right now.




Agreed. I have two Globals.php. The first one is updating, the second one isn't
Any tips how i can work this out?

(Sorry again for the questions and thanks so much for your patience and time Smile )
Re: Another Header Question [message #166673 is a reply to message #166672] Tue, 07 February 2012 09:01 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
(No problem)
It at least looks like you got the image right!

Does everything else in your globals match with the second?



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166674 is a reply to message #166673] Tue, 07 February 2012 09:18 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Mostly, although some of the variables are different.

One that catched my eye:

$FUD_OPT_2
$FUD_OPT_3


Its almost like there is a forum within a forum :hmmm:
Re: Another Header Question [message #166675 is a reply to message #166674] Tue, 07 February 2012 12:31 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
pips wrote on Tue, 07 February 2012 08:18
Mostly, although some of the variables are different.

One that catched my eye:

$FUD_OPT_2
$FUD_OPT_3


Its almost like there is a forum within a forum :hmmm:


Don't quote me on this but I believe those refer to the "Optional" fields in the Profile the admin can manage from the admin panel.


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166678 is a reply to message #166675] Wed, 08 February 2012 01:22 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Quote:
<?php
if (!isset($FORUM_TITLE, $DATA_DIR)) die('Go away!'); // Hacking attempt?

if (defined('shell_script') ) { // Command line execution.
$usr = new stdClass;
$usr->lang = 'en';
$usr->theme_name = 'default';
}

if (file_exists($DATA_DIR.'thm/'.$usr->theme_name .'/i18n/'. $usr->lang .'/charset')) {
$charset = trim(file_get_contents($DATA_DIR .'thm/'. $usr->theme_name .'/i18n/'. $usr->lang .'/charset'));
} else if (file_exists($DATA_DIR .'thm/default/i18n/'. $usr->lang .'/charset')) {
$charset = trim(file_get_contents($DATA_DIR .'thm/default/i18n/'. $usr->lang .'/charset'));
} else {
$charset = trim(file_get_contents($DATA_DIR .'thm/default/i18n/en/charset'));
}

if (defined('shell_script') ) return; // Command line execution.
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<?php echo '<title>'. $FORUM_TITLE .': Admin Control Panel</title>' ?>
<link rel="styleSheet" href="style/adm.css" type="text/css" />
<script type="text/javascript" src="../js/jquery.js"></script>
<script type="text/javascript" src="../js/lib.js"></script>
<script type="text/javascript" src="style/jquery.tablesorter.min.js"></script>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
</head>
<?php

if (defined('popup') ) { /* Special header for popup pages. */
echo '<body class="popup">';
echo '<table class="maintable"><tr><td>';
return;
}

?>
<body>
<table class="headtable"><tr>
<td><a href="index.php<?php if (defined('__adm_rsid')) echo '?'. __adm_rsid; ?>" title="Return to the Admin Control Panel Dashboard"><img src="../images/fudlogo.gif" alt="" style="float:left;" border="0" /></a>
</td>
<td><span class="linkhead">Admin Control Panel</span></td>
<td align="right"><?php if (defined('__fud_index_name__')) { ?>
[ <a title="Go back to your forum" href="../<?php echo __fud_index_name__ .'?'. __adm_rsid; ?>">Return to forum &raquo;</a> ]
<?php } ?>
</td>
</tr></table>

<table class="maintable">
<tr>
<?php if (defined('__adm_rsid') && $is_a) { ?>
<td class="linkdata">
<table class="linktable">
<tr>
<td nowrap="nowrap">
<center>
[ <a title="Browse your forum's files" href="admbrowse.php?<?php echo __adm_rsid; ?>">Files</a> ]
[ <a title="Query database tables" href="admsql.php?<?php echo __adm_rsid; ?>">SQL</a> ]
[ <a title="Schedule and run ad hoc tasks" href="admjobs.php?<?php echo __adm_rsid; ?>">Jobs</a> ]
</center><br />

<span class="linkgroup">General Management</span><br />
<a title="Change forum settings" href="admglobal.php?<?php echo __adm_rsid; ?>">Global Settings Manager</a><br />
<a title="Enable and disable plugins" href="admplugins.php?<?php echo __adm_rsid; ?>">Plugin Manager</a><br />
<!-- a title="Add, edit and remove static pages" href="admpages.php?<?php echo __adm_rsid; ?>">Page Manager</a><br / -->
<a title="Manage events and calendar settings" href="admcalendar.php?<?php echo __adm_rsid; ?>">Calendar Manager</a><br />
<a title="Manage RDF, RSS and ATOM feeds" href="admfeed.php?<?php echo __adm_rsid; ?>">Syndication Manager</a><br />
<a title="Define PDF page settings" href="admpdf.php?<?php echo __adm_rsid; ?>">PDF Generation Manager</a><br />
<a title="Track the location of your users" href="admgeoip.php?<?php echo __adm_rsid; ?>">Geolocation Manager</a><br />
<?php if (extension_loaded('pspell')) { ?>
<a title="Setup spell checker" href="admspell.php?<?php echo __adm_rsid; ?>">Custom Dictionary Spell Checker</a><br />
<?php } ?>
<a title="Review forum actions" href="admlog.php?<?php echo __adm_rsid; ?>">Action Log Viewer</a><br />
<a title="Review your forum's error logs" href="admerr.php?<?php echo __adm_rsid; ?>">Error Log Viewer</a><br />
<a title="Visualize forum statistics" href="admstats.php?<?php echo __adm_rsid; ?>">Forum Statistics</a><br />
<a title="View system information" href="admsysinfo.php?<?php echo __adm_rsid; ?>">System Info</a><br />
<br />

<span class="linkgroup">Forum Management</span><br />
<a title="Setup categories and forums" href="admcat.php?<?php echo __adm_rsid; ?>">Category &amp; Forum Manager</a><br />
<a title="List forums in the recycle bin" href="admdelfrm.php?<?php echo __adm_rsid; ?>">Deleted Forums</a><br />
<a title="Announce important news" href="admannounce.php?<?php echo __adm_rsid; ?>">Announcement Manager</a><br />
<a title="Remove old forum topics" href="admprune.php?<?php echo __adm_rsid; ?>">Topic Pruning</a><br />
<a title="Remove old file attachements" href="admpruneattch.php?<?php echo __adm_rsid; ?>">Attachment Pruning</a><br />
<a title="Import Mailing Lists messages into your forum" href="admmlist.php?<?php echo __adm_rsid; ?>">Mailing List Manager</a><br />
<a title="Import Usenet posts into your forum" href="admnntp.php?<?php echo __adm_rsid; ?>">Newsgroup Manager</a><br />
<?php if ((bool)ini_get('allow_url_fopen') == TRUE) { ?>
<a title="Import XML Feeds into your forum" href="admxmlagg.php?<?php echo __adm_rsid; ?>">XML Aggregation</a><br />
<?php } ?>
<br />

<span class="linkgroup">User Management</span><br />
<a title="Manage user accounts" href="admuser.php?<?php echo __adm_rsid; ?>">User Manager</a><br />
<a title="Setup groups and group permisions" href="admgroups.php?<?php echo __adm_rsid; ?>">Groups Manager</a><br />
<a title="Manage user ranks" href="admlevel.php?<?php echo __adm_rsid; ?>">Rank Manager</a><br />
<a title="Delete old users without messages" href="admpruneusers.php?<?php echo __adm_rsid; ?>">Prune users</a><br />
<a title="Define custom porfile fields" href="admcustomfields.php?<?php echo __adm_rsid; ?>">Profile fields</a><br />
<a title="Send E-mail to your forum memebers" href="admmassemail.php?<?php echo __adm_rsid; ?>">Mass E-mail</a><br />
<br />

<span class="linkgroup">Template Management</span><br />
<a title="Manage themes" href="admthemes.php?<?php echo __adm_rsid; ?>">Theme Manager</a><br />
<a title="Change your forum's look and feel" href="admtemplates.php?<?php echo __adm_rsid; ?>">Template Editor</a><br />
<a title="Edit 118n language strings" href="admmessages.php?<?php echo __adm_rsid; ?>">Message Editor</a><br />
<a title="Edit help pages" href="admhelp.php?<?php echo __adm_rsid; ?>">Help Editor</a><br />
<br />

<span class="linkgroup">Icon Management</span><br />
<a title="Define MIME types andicons" href="admmime.php?<?php echo __adm_rsid; ?>">MIME Manager</a><br />
<a title="Manage smilys" href="admsmiley.php?<?php echo __adm_rsid; ?>">Smiley Manager</a><br />
<a title="Manage forum icons" href="admforumicons.php?<?php echo __adm_rsid; ?>">Forum Icon Manager</a><br />
<a title="Manage messages icons" href="admforumicons.php?<?php echo __adm_rsid; ?>&amp;which_dir=1">Message Icon Manager</a><br />
<br />

<span class="linkgroup">Avatar Management</span><br />
<a title="Approve avatars" href="admapprove_avatar.php?<?php echo __adm_rsid; ?>">Avatar Approval</a><br />
<a title="Manage avatars" href="admavatar.php?<?php echo __adm_rsid; ?>">Avatar Manager</a><br />
<br />

<span class="linkgroup">Filters</span><br />
<a title="Filter user entered data" href="admreplace.php?<?php echo __adm_rsid; ?>">Replacement &amp; Censorship</a><br />
<a title="Block E-mail addresses" href="admemail.php?<?php echo __adm_rsid; ?>">E-mail filter</a><br />
<a title="Block IP addresses" href="admipfilter.php?<?php echo __adm_rsid; ?>">IP filter</a><br />
<a title="Block logins" href="admlogin.php?<?php echo __adm_rsid; ?>">Login filter</a><br />
<a title="Define allowed file extentions" href="admext.php?<?php echo __adm_rsid; ?>">File filter</a><br />
<br />

<span class="linkgroup">Checks/Consistency</span><br />
<a title="Perform consistency check" href="consist.php?<?php echo __adm_rsid; ?>">Forum Consistency</a><br />
<a title="Reindex your forum messages" href="indexdb.php?<?php echo __adm_rsid; ?>">Rebuild Search Index</a><br />
<?php if (!($FUD_OPT_3 & 32768)) { /* Not using DB_MESSAGE_STORAGE. */ ?>
<a title="Compact messages" href="compact.php?<?php echo __adm_rsid; ?>">Compact Messages</a><br />
<?php } ?>
<?php if (strncasecmp('win', PHP_OS, 3)) { /* Not for Windows. */ ?>
<a title="Secure your forum's files" href="admlock.php?<?php echo __adm_rsid; ?>">Lock/Unlock Forum Files</a><br />
<?php } ?>
<?php if (__dbtype__ == 'mysql') { ?>
<a title="Change the character set of your database tables" href="admmysql.php?<?php echo __adm_rsid; ?>">MySQL Charset Changer</a><br />
<?php } ?>
<br />

<span class="linkgroup">Backup/Restore</span><br />
<a title="Backup your forum" href="admdump.php?<?php echo __adm_rsid; ?>">Make forum datadump</a><br />
<a title="Restore a forum backup" href="admimport.php?<?php echo __adm_rsid; ?>">Import forum data</a><br />
<br />
</td></tr>
</table>
</td>
<?php } ?>
<td class="maindata">



Hello, I'm not giving up Smile

I had a look at the adm. folder and found this header.tmpl.

This looks to control the settings of the Admin panel and after some thought, i'm wondering if indeed we have a forum within a forum
Is this the way the Admin panel should work?
When you click the Global settings manager button in the Admin panel, it seems to be pointing to itself.

Quote:
<a title="Change forum settings" href="admglobal.php?<?php echo __adm_rsid; ?>">Global Settings Manager</a><br />


Thjs line is pointing to ADMGlobals, (Which the admin panel IS changing, But i want it to change the Forum Globals,


Any ideas?


Thanks again.
Re: Another Header Question [message #166681 is a reply to message #166678] Wed, 08 February 2012 06:50 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Any further ideas on why the Admin panel isn't changing the globals correctly, and why we have two versions?

Please? Laughing
Re: Another Header Question [message #166682 is a reply to message #166681] Wed, 08 February 2012 07:52 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
First though it might help to understand how you got here, for the time being I assume that the forum/globals were already like this when you began and you just asked why/how.

I checked and my install has a global in the web dir as well as within the adm directory and both appear to be identical! (have you tried making yours identical particularly the /vhosts/nomad-forum.com/httpdocs/fudforum/Globals.php section?).

Why it has "domain-name.com" in one just does not seem correct, but I can't comprehend how it would have gotten there without someone adding it manually.



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166683 is a reply to message #166682] Wed, 08 February 2012 08:23 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I'll have a look at that Thanks.
I'm a new Admin on the forum and have took it on myself to spruce it up.

(The domain.com was me trying (and failing) to be discreet with the post Embarassed

[Updated on: Wed, 08 February 2012 08:25]

Report message to a moderator

Re: Another Header Question [message #166685 is a reply to message #166683] Wed, 08 February 2012 09:27 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
So, i bit the bullet, downloaded the main Globals.php into a word editor, chnaged the Forum name and description variable manually and uploaded back intot he folded.

It worked! Shocked

Thanks for your help btw, i managed to figure out that the admin panel was (is) broke and how to circumvent it.
I'd like to know why its broke, i'm sure its a forum/category thing because we have two forums and two categories and i think the admin panel is pointing to the wrong one, but thats for another day and another different section of your webhelp forum.

If you figure out what's going on let me know, but thankyou Smile
Re: Another Header Question [message #166686 is a reply to message #166685] Wed, 08 February 2012 10:32 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
All righty then! Now if you can just figure out why the paths were different (were they already that way when you became admin?)

FYI in the future you can manually edit (upload, rename, Del, cmod, dload,) your Globals etc. from within the admin panel (its one of the reasons I chose this software, it's completely self contained).

It should not be a "forum/ cat" thing, the software can handle thousands of individual forums and categories more likely it was an installation/upgrade/mod issue or a difference in your specific system..... But specifically what it is I've no idea, and no way to tell how long it's been like that.

On a side note, a quick review shows 8 admins (and several moderators), not to mention a whole slew of users with custom colors/tags; so there could be any number of possible causes stemming from any of them..... Be careful.

And make sure you keep a current backup.



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166687 is a reply to message #166686] Wed, 08 February 2012 11:13 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Thanks.

We are looking to upgrade the software to the newest release. I suspect thats a bit much for us to do so we may bring in outside help and have them straighten the admin panel as well.
Good point on backing up. I'll make sure i do that.

Regards
Re: Another Header Question [message #166688 is a reply to message #166687] Wed, 08 February 2012 11:57 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Don't underestimate yourself, upgrades are pretty simple really and the best way to learn is by doing.

Besides by walking through it you help others learn as well.


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166689 is a reply to message #166688] Thu, 09 February 2012 06:05 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I was up last night till 3.30 am doing the following

Researching and Uploading the Geo-tag database (noticed on this forum, lovely idea tbf)
Backing up the forum
Upgrading the forum.

Now, i don't know if this is the correct thread for this as i've moved on from the banner issues (For now, i am going to find out how to overlay the text and search images over the forum banner) but i want to fix what i think is a borked file structure/Admin panel.

The above tasks failed completely. I was unable to invoke the Geo-tag, even tho i succeded in uploading the database because my admin panel doesnt change the main globals,php, and i'm not to clever on the binary bit either Laughing )

The upgrade failed because i couldn't seem to invoke the upgrade.php file from the web, because i think the default web root is perhaps buggered up and may be causing my problems.

So, how do i go about fixing this? Ideallym if i knew what i was doing, i'd park up the forum message databases and wipe the forum and start from fresh, but i don't know what i am doing Laughing
The forum is buggered though. (at least from the internals, the posting seems to be hanging together)
I am thinking that an upgrade is the way to go for a first attempt.

I downloaded the upograde.php and forum_archive.php to what is i believe (as per the globals.php file) is the root web directory:


Quote:
$WWW_ROOT_DISK = '/vhosts/nomad-forum.com/httpdocs/fudforum/';


But i couldnt't find the path required to hit it in the web browser Confused

Very odd altoghether...
Re: Another Header Question [message #166690 is a reply to message #166689] Thu, 09 February 2012 08:28 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Yes, I just love the Geo-IP option (it's a good thing).

pips wrote on Thu, 09 February 2012 05:05
So, how do i go about fixing this? Ideallym if i knew what i was doing, i'd park up the forum message databases and wipe the forum and start from fresh, but i don't know what i am doing Laughing
The forum is buggered though. (at least from the internals, the posting seems to be hanging together)

As for the rest lets just start at the beginning and go through it one step at a time!

First, I looked over the forum and based on what I see and on what you say I wouldn't do like you are suggesting above and start fresh! I would go about it much differently!

I doubt you really want to delete all of your posts and start totally new (that's overkill), instead I would use FUDforum2go or preferably a sub-domain to recreate your installed forum and do the work without affecting the forum at all (my knowledge is limited so I have to do things the hard way).

You haven't said anything about having errors or any real problems, other than: Quote:
The forum is buggered though. (at least from the internals, the posting seems to be hanging together)
(Which I don't quite understand).

So since you seem mostly interested in making cosmetic improvements and "spruce up" there shouldn't be a need to dump all of your past posts or do more work than needs to be done.

The upgrade script needs to be uploaded to your domains root (unless installed differently) this should be the same "WWW Root: This is the URL of your forum." From your adm panel.

I'll be back on later tonight if you want some help.


"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166691 is a reply to message #166690] Thu, 09 February 2012 09:03 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
I didn't mean delete the posts, i meant save them (put them to one side) and reinstall the forum structure and then reload the posts. (that probably sounds nonsense doesn't it Laughing
Re: Another Header Question [message #166692 is a reply to message #166691] Thu, 09 February 2012 09:08 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Quote:
File Administration System
Currently browsing: /vhosts/nomad-forum.com/httpdocs/fudforum


This is a close as i can get to the root directory in the file system and where the first levels of files are kept,

Yet, the www.Root directory is Quote:
$WWW_ROOT = 'http://www.nomad-forum.com/fudforum/';
according to the Globals. php stored in vhosts/nomad-forum.com/httpdocs/fudforum


I can't actually navigate to the root directory? :hmm:
Re: Another Header Question [message #166693 is a reply to message #166692] Thu, 09 February 2012 16:31 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
pips wrote on Thu, 09 February 2012 08:03
I didn't mean delete the posts, i meant save them (put them to one side) and reinstall the forum structure and then reload the posts. (that probably sounds nonsense doesn't it Laughing

No it doesn't, its just easier said than done (at least with my limited experience); I've not always had good luck when importing/exporting/transferring data from one install to another particularly where an upgrade happens in between.

As for your path, not to worry ...... I assume you have full FTP privileges for the host? If not you can work around that for now.






"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166791 is a reply to message #166693] Thu, 23 February 2012 18:10 Go to previous messageGo to next message
NeXuS is currently offline  NeXuS
Messages: 121
Registered: July 2010
Location: South Korea
Karma: 5
Senior Member
Contributing Core Developer
add to buddy list
ignore all messages by this user
Pips, form what I can see you have a problem with symbolic links.

FUDforum uses one GLOBALS.php file:

  • {data}/include/GLOBALS.php


It also has 3 links to it

  • {data}/scripts/GLOBALS.php
  • {forum}/GLOBALS.php
  • {forum}/adm/GLOBALS.php


I am not sure of the reason why, as it seems a rather poor implementation choice, but it is this way (maybe it will be changed in future releases).

GLOBALS.php also contains information about the installation directory and the data directory (WWW_ROOT_DISK and DATA_DIR variables), which are probably pointing to the wrong places because of the symbolic links.

I believe that the previous admin did change the installation path somehow but forgot to update the symlinks.
Re: Another Header Question [message #166793 is a reply to message #166791] Fri, 24 February 2012 04:53 Go to previous messageGo to next message
The Witcher is currently offline  The Witcher   United States
Messages: 662
Registered: May 2009
Location: USA
Karma: 2
Senior Member
add to buddy list
ignore all messages by this user
Good Point! Perhaps it might be wise to ensure that all three globals are correct before going further!

Symlinks have always been a bane for me; I've never understood how to cope with them effectively beyond basic editing as needed.



"I'm a Witcher, I solve human problems; not always using a sword!"
Re: Another Header Question [message #166814 is a reply to message #166793] Wed, 29 February 2012 06:45 Go to previous messageGo to next message
pips is currently offline  pips   Ireland
Messages: 113
Registered: February 2012
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Just read this.

HOLD THE PHONE!!!
Re: Another Header Question [message #166840 is a reply to message #166814] Sun, 04 March 2012 08:21 Go to previous message
NeXuS is currently offline  NeXuS
Messages: 121
Registered: July 2010
Location: South Korea
Karma: 5
Senior Member
Contributing Core Developer
add to buddy list
ignore all messages by this user
pips wrote on Wed, 29 February 2012 20:45

HOLD THE PHONE!!!


We're here anytime you need. Smile
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Visited Links Issue in threads.
Next Topic: Right Sidebar Content
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 12 15:09:12 EST 2017

Total time taken to generate the page: 0.01194 seconds