Not logged in. · Lost password · Register
Page:  1  2  3 ... 7  8  9  next 

All posts by NFG (125)

topic: "Plus one"-Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
Avatar
NFG #1
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
That's entirely true, but since the majority of my traffic (about 96%, I checked) is non-returning visitors, I'm not really worried about it.  If most of my visitors fail to come back, there's a good chance they'll never want to change their vote.

Also, who ever decides several days later that something isn't cool after all, and goes looking to unlike it?
topic: "Plus one"-Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
Avatar
NFG #2
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10982
Tracking it by IP would be one way, I suppose?  Ultimately I don't really care if people want to bash the like button to crank up the counts (and since the .js unlikes if it was just liked it'd prevent re-liking without reloading the page in any case).   

"900 people liked this post" is better feedback and better indication of activity and life than the pure silence I'm getting now.

My particular use of the forum is probably very different than most, maybe it's time to delve into the code again.  =)
topic: "Plus one"-Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
Avatar
NFG #3
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10980
Is there a way to adjust the permissions?  I'd like to allow guests to upvote posts, 'cause most of my forum traffic is from non-members reading old posts.  It'd be nice if they could leave a little +1 on their way through the internets.

Of course, this might defeat the 'own post' upvotes, but that's not really an issue for me.
topic: "Plus one"-Plugin  in the forum: Customising UNB Modifications and plug-ins Plug-in gallery
Avatar
NFG #4
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10918
This is pretty excellent, I've been wanting something like this for my forum for a while, thanks for doing this.  Installation was a breeze too.

It took me a while to figure out why the +1 button never appeared in the template - it doesn't show up on your own posts, and the test thread was all me.  Oops. 

I think it'd be nice to down-vote posts as well, quite a few of my own posts probably deserve negative scores.  Any chance of a new version?  =D
topic: Useful ABBC add-ons  in the forum: Customising UNB Modifications and plug-ins
Avatar
NFG #5
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10945
This is a recent change by Google, the code used to work, but died a while ago. 

Thanks for fixing it.  =)
topic: Massive Automated Spam (two features I'd like to see implemented against this)  in the forum: Support Ideas and suggestions
Avatar
NFG #6
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10893
I second the call for a 'user and his posts' delete option.  It was a lifesaver on several forums I've maintained.

I'll have a look at your plugin, thanks for the contribution.  I do so love how two of my favourite products (UNB & Doku) come together like this.   =)
topic: Hack to avoid spammers using the messaging system  in the forum: Customising UNB Modifications and plug-ins
Avatar
NFG #7
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10861
That seems frighteningly dangerous to put on every post, but it'd be nice to see on every user's profile.

I'm wary of one-click nukes, speaking as a guy who accidentally annihilated his own admin account.  <_<
topic: Hack to avoid spammers using the messaging system  in the forum: Customising UNB Modifications and plug-ins
Avatar
NFG #8
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10832
Thanks for that update, Yves!

Over the years I've been adding more and more customization to my UNB installation, with all kinds of nutty tweaks and expansions...  One day I might even release a facebook/OpenGraph plugin I whipped up...

But for now, my horrifying disaster of code is probably not going to accept a standard update, so I'm hoping you can detail what changes were made to the new release?  Specifically, what files, and perhaps a dif for those so I can manually work out where to put the new stuff...

And then I need to dig through the archives to figure out (again) how to remove the update-available message.  =D
topic: Current page link variable? (Does it exist?)  in the forum: Support General support
Avatar
NFG #9
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10750
Actually PHP_SELF is just the filename of the script, relative to document root.  So my string is:

  1. $string = 'http://domainname.com' . $_SERVER['PHP_SELF'] . $_SERVER['REQUEST_URI'];

and the result is

http://domainname.com/path/to/script.php?any&additional&args

If it was the filesystem path it wouldn't be very useful at all.  =)
topic: Current page link variable? (Does it exist?)  in the forum: Support General support
Avatar
NFG #10
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10748
That worked perfectly, thanks Yves!

For anyone who wonders, I used

$_SERVER['PHP_SELF']

followed by

$_SERVER['REQUEST_URI']
topic: Current page link variable? (Does it exist?)  in the forum: Support General support
Avatar
NFG #11
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
Subject: Current page link variable?
It's killing me, I can't figure out how to get the current page URL in a plugin.  I'm trying to add the opengraph details for every page to a plugin, and I'm getting the results I expect, except the URL.  Is there a global variable that does this?  The template vars are not always available, so what works in a post might not work in a thread or a forum view, etc.

I've spent ages on it, and can't work it out.  Any hints? =)
topic: How do post links jump? (Vague question, I know.)  in the forum: Support General support
Avatar
NFG #12
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10745
Thanks Yves, I'll try and track that element down.  ^_^

EDIT:  Yup, was missing the post ID in the div container:

 id="p{$post.id}"

Put that back and all's well.  Thanks for the tip.
This post was edited on 2011-01-19, 09:25 by NFG.
topic: How do post links jump? (Vague question, I know.)  in the forum: Support General support
Avatar
NFG #13
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
Subject: How do post links jump?
I've been ripping apart the default template and I realized weeks into the job that I've screwed up whatever mechanism jumps the viewer's browser to a specific post.  Now when a /post/xxxx link is accessed the page remains at the top, instead of jumping to the relevent post.

I've tried and failed to work out what it WAS doing, nor can I see any differences in the page design that might account for this.

To help me figure it out I'd love to know how this mechanism works.
topic: Hack to avoid spammers using the messaging system  in the forum: Customising UNB Modifications and plug-ins
Avatar
NFG #14
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10742
It hasn't been a problem for me (yet!) but your fix looks like a good solution.  I've implemented it for my forum too.

Long live dokuwiki & UNB.  =D
topic: Captcha on searches? (Bots are ruining everything!)  in the forum: Support Ideas and suggestions
Avatar
NFG #15
Member since Sep 2006 · 125 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10688
Subject: Total success!
Total success!  Thanks Yves.

Killing the bots this way has cut unnecessary searches to zero, and the logs are now filled with actual page views (by the same combination of bots and search engines of course) but no more endless search loops.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 7  8  9  next 
Special queries
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 181.9 ms (132.1 ms) · 156 database queries in 102 ms
Current time: 2013-05-26, 08:06:54 (UTC +02:00)