Webmastersite.net
Register Log In

mistake in 3.23 zip file?

Comments on mistake in 3.23 zip file?

david
Forum Regular

Usergroup: Customer
Joined: Jun 22, 2005

Total Topics: 91
Total Comments: 305
david
Posted Aug 08, 2005 - 9:03 PM:

Hey Paul,

Just doing a manual upgrade to 3.23 and noticed that in some files (especially templates, but some php), the reference to a category has been replaced by Forum and the Link by Topic. Example:

<form action="makehtml.php?filled=1" method="post">
<span class="labels">Generate Pages Now:</span>
<br><br>Create an HTML version in the directory <input type="text" name="directory" size="15" value="admin/htmloutput"> (use a relative path from the main WSN Links directory).
<br>Use these custom templates (leave blank to use regular templates, but it's strongly suggested you use custom ones to avoid dead links):
<br>Wrapper: <input type="text" name="customhead" value="{CUSTOMHEAD}">
<br>Main index: <input type="text" name="customindex" value="{CUSTOMINDEX}">
<br>Forums: <input type="text" name="customcat" value="{CUSTOMCAT}">
<br>Topic Details: <input type="text" name="customitem" value="{CUSTOMITEM}">
<br>Threads: <input type="text" name="customcomments" value="{CUSTOMCOMMENTS}">

<br><br>Do <input type="text" name="perpage" value="5" size="3"> of each type per cycle, starting at <input type="text" name="start" value="0" size="4">.<br>
<br><input type="submit" value="Begin Generation" class="button">
</form>

<br>This requires that none of your category names contain characters which are illegal in a directory name, and that PHP have CHMOD ability on your host. Note: If you select 'yes', you will want to name categories as index{PAGE}.html.
<br>Absolute URL prefix (will prepend all links to cats, links, comments, index... needed if using subdirectories): <input type="text" name="htmlautogenerateabsurl" size="{STANDARDSIZE}" value="{HTMLAUTOGENERATEABSURL}">
<br>Directory to write autogenerated HTML to: <input type="text" name="htmlautogeneratedir" size="{STANDARDSIZE}" value="{HTMLAUTOGENERATEDIR}"> (relative to your base WSN Links directory)
<br>Use these custom templates (make blank in order to use standard templates):
<br>Wrapper: <input type="text" name="customhead" value="{CUSTOMHEAD}">
<br>Main index: <input type="text" name="customindex" value="{CUSTOMINDEX}">
<br>Forums: <input type="text" name="customcat" value="{CUSTOMCAT}">
<br>Topic Details: <input type="text" name="customitem" value="{CUSTOMITEM}">
<br>Threads: <input type="text" name="customcomments" value="{CUSTOMCOMMENTS}">

<br><b>Advanced:</b>
<br>Name main index page as <input type="text" name="htmlautogenerateindex" size="20" value="{HTMLAUTOGENERATEINDEX}">
<br>Name categories as <input type="text" name="htmlautogeneratecat" size="20" value="{HTMLAUTOGENERATECAT}">
<br>Name link details as <input type="text" name="htmlautogeneratelin" size="20" value="{HTMLAUTOGENERATELIN}">


That's from the makehtml.tpl in the admin directory. I got a script comparing every file and doing a manual upgrade. I noticed this in a lot files and thought that maybe you did an upgrade on the WSNFORUM script as well and mixed up the files that were included in the zip file of the WSNLINKS.

David
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Aug 09, 2005 - 12:38 PM:

I just downloaded 3.23 to check this, and what's been in the downloads area contains this as the templates/default/admin/makehtml.tpl file:

<div class="title" align="center">Generate HTML</div>
<p>For some purposes you may occasionally wish to generate plain HTML pages. Configure the options below in order to do so.</p>

<form action="makehtml.php?filled=1" method="post">
<span class="labels">Generate Pages Now:</span>
<br><br>Create an HTML version in the directory <input type="text" name="directory" size="15" value="admin/htmloutput"> (use a relative path from the main WSN Links directory).
<br>Use these custom templates (leave blank to use regular templates, but it's strongly suggested you use custom ones to avoid dead links):
<br>Wrapper: <input type="text" name="customhead" value="{CUSTOMHEAD}">
<br>Main index: <input type="text" name="customindex" value="{CUSTOMINDEX}">
<br>Categories: <input type="text" name="customcat" value="{CUSTOMCAT}">
<br>Link Details: <input type="text" name="customitem" value="{CUSTOMITEM}">
<br>Threads: <input type="text" name="customcomments" value="{CUSTOMCOMMENTS}">

<br><br>Do <input type="text" name="perpage" value="5" size="3"> of each type per cycle, starting at <input type="text" name="start" value="0" size="4">.<br>
<br><input type="submit" value="Begin Generation" class="button">
</form>

<form action="makehtml.php?action=saveprefs" method="post">
<br><br><span class="labels">Automatically Update HTML Version:</span>
<br>Pages will be recreated whenever an addition or edit is made. This way you will not need to regenerate. <br>
<br>Activate? <select name="htmlautogenerate">{FUNC_YESNO[{HTMLAUTOGENERATE}]}</select>
<br>Distribute load? <select name="staticqueue">{STATICQUEUEYESNO}</select>
<br>(This will make the page creation not be instant, but happen bit by bit as people browse.)
<br>Use subdirectories (full category paths)? <select name="htmlautogeneratesubs">{FUNC_YESNO[{HTMLAUTOGENERATESUBS}]}</select>
<br>This requires that none of your category names contain characters which are illegal in a directory name, and that PHP have CHMOD ability on your host. Note: If you select 'yes', you will want to name categories as index{PAGE}.html.
<br>Absolute URL prefix (will prepend all links to cats, links, comments, index... needed if using subdirectories): <input type="text" name="htmlautogenerateabsurl" size="{STANDARDSIZE}" value="{HTMLAUTOGENERATEABSURL}">
<br>Directory to write autogenerated HTML to: <input type="text" name="htmlautogeneratedir" size="{STANDARDSIZE}" value="{HTMLAUTOGENERATEDIR}"> (relative to your base WSN Links directory)
<br>Use these custom templates (make blank in order to use standard templates):
<br>Wrapper: <input type="text" name="customhead" value="{CUSTOMHEAD}">
<br>Main index: <input type="text" name="customindex" value="{CUSTOMINDEX}">
<br>Categories: <input type="text" name="customcat" value="{CUSTOMCAT}">
<br>Link Details: <input type="text" name="customitem" value="{CUSTOMITEM}">
<br>Threads: <input type="text" name="customcomments" value="{CUSTOMCOMMENTS}">

<br><b>Advanced:</b>
<br>Name main index page as <input type="text" name="htmlautogenerateindex" size="20" value="{HTMLAUTOGENERATEINDEX}">
<br>Name categories as <input type="text" name="htmlautogeneratecat" size="20" value="{HTMLAUTOGENERATECAT}">
<br>Name link details as <input type="text" name="htmlautogeneratelin" size="20" value="{HTMLAUTOGENERATELIN}">
<br>Name threads as <input type="text" name="htmlautogeneratecom" size="28" value="{HTMLAUTOGENERATECOM}">
<br>Page separator (will be placed before {PAGE}): <input type="text" name="htmlautogeneratepagesep" size="3" value="{HTMLAUTOGENERATEPAGESEP}">
<br><br><input type="submit" value="Save Preferences" class="button">
</form>


I suspect you're looking at your old version and confusing it with the new version. I know 3.20 had 'forum' terminology by mistake.

david wrote:
but some php


The four main scripts have always shared the same PHP files (though each script has special files of its own).
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.