Webmastersite.net
Register Log In

4.1.0 Alpha 1
release notes

Comments on 4.1.0 Alpha 1

Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
4
Posted May 20, 2007 - 9:53 PM:

Download here

Note:

1) This is not the final template set, I've hired someone to create an attractive one. Thus I suggest you don't waste time customizing the current templates/style. Not customizing will allow your templates to be automatically updated during your upgrades.

2) I don't recommend upgrading any important 4.0.x installs yet -- it can be done, but every upgrade I've done so far has involved unexpected headaches (mainly with the template updater and with language).

3) Have your say on how I've implimented the various features. I'm much more likely to make suggested changes/enhancements now than during the beta/RC/final process. In particular I don't think I'm grasping how tagging is supposed to work.

4) The manual for 4.1 is a work in progress, so feel free to ask questions about what it doesn't cover in this thread.

5) When Alpha 2 comes out your admin panel should prompt you to let it upgrade you.


Tested and verified so far:

- average page is 20% faster in my tests
- when deleting category, an option to auto-transfer all links/posts/feeds to specified category
- YESNODEFAULT} template variable appendage to show a selector with the options use default, yes and no
- compact help browser
- customizable common tasks list for admin panel
- now using XHTML, instead of HTML 4.01
- grouped switches by their logical dependancies, changed to checkboxes
- moved admin panel to templates/admin for independence
- color scheme wizard, and simplified stylesheet
- pagination centralized to a template with {PAGINATION}
- some cleanup on the 'advanced' page
- language replacements are now done on template load, so that template vars and conditionals always work in language items
- admin menu state changes now stick across sessions
- <!-- BEGIN TYPE TOTALS --> area that lists totals for all types of links in the category
- menu frame refreshes after changing switches, so that appropriate options show automatically
- optional 'next page' and 'previous page' links in pagination
- import option to scrape links from a page and place result in the 'bulk add' box
- all $_SERVER vars are now available as global template vars {SERVER_X}
- now using language item for currency sign ($), to ease changing it
- email preview is now templated
- custom titles specification page
- admin stats page moved to template
- {FUNC_PROTECTTEXT[{LINKEMAIL}]} template function available to disguise cleartext emails into ascii codes for (flawed) spam protection
- dropped translation of index.php... link.php... urls to rewritten, you must use {CATURL}, {LINKDETAILSURL} now
- post bit, to simplify templates a little
- shoutbox
- quotes system
- toplist mechanism to select only distinct rows
- filterable bulk edit categories page
- filterable bulk edit links page
- [INSERTFILE=] can now process urls in addition to local templates
- in-template method to set a custom wrapper: <!-- usewrapper=wrapper2 -->
- ability to pass the login in url
- centralized navigation bit


Remaining to test:

- automatic updates via prompt in admin panel
- add missing (new) images on upgrade
- automatic addition of new templates and updating of uncustomized templates. needed changes to be linked to file comparison.
- an option on the send emails page to merge all emails heading to the same link owner email address, using a <!-- BEGIN ROW --> structure to send info about each link.
- images directory defaults to whatever style images are available, such that images_default will still be used by a stylesheet newstyle if necessary
- switch for all reciprocal link related material
- removed admindir length restriction
- upgrade.php now automatically unlocks to non-admins when it detects the upgrade has not been run yet
- moved ppc search plugins to own directory, any file added is autolisted as search plugin
- compacted secondary usergroup category permissions processing, hopefully not breaking anything
- improved/centralized search highlighting
- option to turn multilingual template set into monolingual
- custom attachment fields can be used on any type of object now
- custom rating fields can be used on any type of object now
- centralized redirects and ensured they can pass custom templates along to destination
- added the modcp reports page from wsn forum
- member list sort options for last login date and user group
- search for member usergroups
- link searches can now be sorted by rotating letter
- switch to turn avatars off
- chat room
- [url=] and [size=] wsn codes now yield valid html whether the user quotes the parameter or not
- flatfile (incl CSV) import for categories
- category jump selector now obeys rewriting
- url rewriting allowing full category path in the details, outgoing link and thread urls
- installation option: choose full-featured (all switches on) or simple (most switches disabled)
- option to rewrite ampersands
- guestbook reply notification option in profile
- whole site IP bans write to .htaccess when it's available
- localization settings working same in multilingual as english
- option for member to subscribe to notifications of matches for a list of keywords
- distinct hits in switch
- unsubscribe-from-everything-at-once link
- subcategories now inherit permissions from parents unless otherwise specified (requires regeneration after upgrade)
- conditionals in email subject lines
- integration generator now prompts for the registration url
- included moderator whiteboard from WSN Forum
- category types switch
- searchable fields for members
- similar categories
- utility to remove unused language items
- required fields for calendar
- ability to make calendar events span multiple days
- subcats html can now differ by template, html changes no longer require regeneration
- pluggable functions
- for WSN integration, the category name now accurately reflects which site it's on if $registrationurl is set
- cookie path/domain can now be overriden in config.php/tweaks.php using $cookiepath and $cookiedomain
- template variable {TIME} which provides current unix timestamp and works in toplists
- admin panel option to show items which have not yet taken effect
- 'protected fields' list to make sure only admins can set/change certain data
- censor page option to decide if titles should be censored
- option to give a particular thread a custom order
- search log now records advanced searches
- usergroup permission to limit the number of total aliases per member (across all links)
- SEO option to serve noindex/nofollow to non-rewritten URLs
- submitters can add an RSS feed whose items will be inserted into the directory daily
- reorganized usergroup permissions based on type of item
- switch for PAD files
- auto-updating of link details based on the PAD data every x days
- option to recip-check links after 48 hours automatically, then re-verify each month
- tagging, tag cloud
- listing of changed language items on upgrade, with automatic update of uncustomized items.
- per-category sponsorship
- when translating, the language page brings you to the next set automatically after updating
- {ATTACHDOWNLOADURL} to give the download url for an attachment without bothering to type it out
- option to let link owners respond to comments within them
- added links to find deleted items
- payment detail logging
scriptwiki
Member

Usergroup: Customer
Joined: Aug 04, 2005

Total Topics: 11
Total Comments: 47
Posted May 21, 2007 - 8:01 AM:

I put up a demo if you want to see what's different without installing yourself: http://www.pbing.com/wsnlinks/
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted May 22, 2007 - 6:57 AM:

Paul,
I installed 4.1 Alpha to check it out. Fresh install. So far only problem I've seen with it is in the admin section under manage templates when I go in I get this at the top of the page Error: The file ../schemas/templateschema.wsn does not exist. So I go and see what in schemas and I found that there is a file that templateschema.wsn.dist but no templateschema.wsn. Can I just take off the .dist on the file.

Liz
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted May 22, 2007 - 2:11 PM:

Ah, setup.php forgets to rename it. Yes, remove the .dist.

There was a major problem with editing categories as well, such that it messes up cat usergroup permissions when you do. Also a template error was causing excessive load time. Should have alpha 2 tonight now that my electricity is finally back on.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted May 24, 2007 - 2:22 PM:

Paul,
Ok I found in 4.1 alpha2 that comments are not rewritting properly. If you go under SEO I have that the spaces be - and that all lowercase. It's not during it for comments. Tried do the combine details and comments and I get a blank page.

Liz
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
Posted May 24, 2007 - 11:08 PM:

Confirmed and fixed.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted May 25, 2007 - 5:38 AM:

Paul,
The rewrite for links aren't working correctly either. I'm using {TRACKLINKURL} for the links. Also on the main.tpl for toplist it's not rewriting the urls correctly it's not put in the category for the link so your getting http://www.yourdomain.com/wsnlinks//redirect1/ for a link on toplists. But links rewriting isn't working at all.

Liz
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted Jun 04, 2007 - 6:44 AM:

Paul,
On 4.1.0 alpha3 the combined details and comments when switched on you still get a blank page when trying to access it.

Plus in objectfunctions.php in the includes directory that does the stars for custom ratings is not identifying the templates image directory correctly.

Liz
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted Jun 04, 2007 - 5:58 PM:

Paul,
Also the redirect for links isnt' working either. When you click on the link it goes to a page the says content doesn't exist.

Never mind Paul I did the upgrade again and boom it's working now.

Liz
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
#10 - Quote - Permalink
Posted Jun 05, 2007 - 3:45 PM:

The autoupgrade seems to be broken still. It's not upgrading templates properly either.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
#11 - Quote - Permalink
Posted Jun 11, 2007 - 8:05 AM:

Paul
On Alpha 4 the problem with stars showing for custom ratings isn't showing up. So I went into includes/objectfunctions.php and changed the following and it worked.

Here is the current code:
// extract data from custom rating fields
$opts = explode(',', $settings->$fields);
$n = count($opts);
for ($a=0; $a<$n; $a++)
{
if (strstr($opts[$a], 'rating'))
{
$content = explode('[,]', $object->$opts[$a]);
$v = $opts[$a] .'votes';
$s = $opts[$a] .'sumofvotes';
$r = $opts[$a] .'rating';
$t = $opts[$a] .'stars';
$object->$v = $content[0];
$object->$s = $content[1];
if ($content[0] > 0) $object->$r = round(((($content[1]) / ($settings->maxvote * $content[0])) * $settings->maxvote), $settings->ratingdecimal); else $object->$r = 0;
$path = $settings->dirurl .'/'. $templatesdir .'images/';
if ($usehalfstars)
{ // we have half-star ratings to use
$parts = explode('.', round($object->$r,1));
$number = $parts[0];
$decimal = $parts[1];
if ($decimal < 5) $object->$t = '<img src="'. $settings->dirurl .'/'. $templatesdir .'/images/stars'. $number .'.gif" alt="'. round($object->$r,0) .'" border="0" />';
else $object->$t = '<img src="'. $settings->dirurl .'/'. $templatesdir .'/images/stars'. $number .'-5.gif" alt="'. round($object->$r,0) .'" border="0" />';
}
else
$object->$t = '<img src="'. $settings->dirurl .'/'. $templatesdir .'/images/stars'. round($object->$r,0) .'.gif" alt="'. round($object->$r,0) .'" border="0" />';
$settings->customratinglinkfields .= ','. $v .','. $s .','. $r .','. $t;
}
}
return true;
}


I changed the dirurl to this and it worked.
 // extract data from custom rating fields
$opts = explode(',', $settings->$fields);
$n = count($opts);
for ($a=0; $a<$n; $a++)
{
if (strstr($opts[$a], 'rating'))
{
$content = explode('[,]', $object->$opts[$a]);
$v = $opts[$a] .'votes';
$s = $opts[$a] .'sumofvotes';
$r = $opts[$a] .'rating';
$t = $opts[$a] .'stars';
$object->$v = $content[0];
$object->$s = $content[1];
if ($content[0] > 0) $object->$r = round(((($content[1]) / ($settings->maxvote * $content[0])) * $settings->maxvote), $settings->ratingdecimal); else $object->$r = 0;
$path = $settings->dirurl .'/templates/images_default/';
if ($usehalfstars)
{ // we have half-star ratings to use
$parts = explode('.', round($object->$r,1));
$number = $parts[0];
$decimal = $parts[1];
if ($decimal < 5) $object->$t = '<img src="'. $settings->dirurl .'/templates/images_default/stars'. $number .'.gif" alt="'. round($object->$r,0) .'" border="0" />';
else $object->$t = '<img src="'. $settings->dirurl .'/templates/images_default/stars'. $number .'-5.gif" alt="'. round($object->$r,0) .'" border="0" />';
}
else
$object->$t = '<img src="'. $settings->dirurl .'/templates/images_default/stars'. round($object->$r,0) .'.gif" alt="'. round($object->$r,0) .'" border="0" />';
$settings->customratinglinkfields .= ','. $v .','. $s .','. $r .','. $t;
}
}
return true;


Liz
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
#12 - Quote - Permalink
Posted Jun 11, 2007 - 8:20 AM:

Paul,
I also found that a problem with help. When you go and add a help category and wanna add another it returns to a blank page so you can't add anymore help categories. The help items is doing the same thing.

Liz
Paul
developer

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

Total Topics: 61
Total Comments: 7867
Paul
#13 - Quote - Permalink
Posted Jun 12, 2007 - 12:46 PM:

Thanks, fixed various a bunch of other broken images as well.

Help categories returns me to an error page, not blank, but I guess you have the errors suppressed.

ModemGuru


Usergroup: Customer
Joined: Mar 22, 2006

Total Topics: 8
Total Comments: 50
#14 - Quote - Permalink
Posted Jun 13, 2007 - 7:51 AM:

A few quick questions:

* Will we get to see a preview of the new design? :-)
* Do you have an expected timeline for this release (based on past releases)?
* Will this be a free update for 4.0.x users?

Thanks Paul, you have a great product here. There are several competing scripts, but none compare to the scalability of this one.
mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
#15 - Quote - Permalink
Posted Jun 13, 2007 - 10:43 PM:

I installed 4.1.0 Alpha 4 for testing, but there are erros, the installation can't continue.

Warning: ftp_rename() [function.ftp-rename]: Sorry, but that file doesn't exist in /usr/home/xxxxx/xxxxx/setup.php on line 406

Fatal error: Call to undefined function: updatecategoryselector() in /usr/home/xxxxx/xxxxx/classes/category.php on line 226

#2 there are one htaccess.txt and .htaccess files, which we should use.

#3 In zip file, there is no /temp/ folder, but on readme.html, you asked us to chmod /temp/ to 777.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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