This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Auto Pages (Outdated)
#11

By the way I am re-writing the next version of Commentics so that automatic page creation is built-in.

For that reason I won't be developing this add-on any further but I will still provide support for it.

Have you completed the interview?
Reply
#12

Steven,

Thanks for providing this add-on. It looks like it's working great.

One suggestion I have though is the way it's handling URL's. I have it set for the parameters to ignore everything except for "ref". So when a page is created it's:

http://www.demu.org/pages/view.php?ref=936

This is perfect. However, the URL that is created keeps all of the search query junk that user has at the moment. For example for this record it is:

http://www.demu.org/pages/view.php?ref=9...rchive=0&k=

Not a huge deal - but it would be really nice if we could set a option somewhere to also have the URL "cleaned" to keep only the parameters we want.
Reply
#13

Hi,

Thanks for this suggestion. I actually designed it like that on purpose. My reasoning was that the "search query junk" may be important in some way, for example it may control the page layout or the language of the text. So if the URL that the administrator clicks on were to only contain the "ref" parameter then there could be cases where the URL would not load the desired page properly. If that's not a problem to you then it's a very simple change in the code:

On line 106 there is a mysql_query. Simply change "$url2" to "$url".

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
19-Jun-2017, 08:04 PM
Last Post by kooler
02-Aug-2013, 05:29 PM
Last Post by Norbs
05-Dec-2011, 03:05 PM
Last Post by Static
20-Jan-2011, 01:55 AM
Last Post by Static
31-Dec-2010, 08:09 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)