Deleting this line should help wink

window.document.body.style.overflow='hidden';
KeyDog wrote:

Or what are you using there to make the images larger?

It's one of lightbox clones - this one is pirobox. I like colorbox as well, but I had some problems using images with url like img.php?t=img&id=2104 smile

Or... you could use jQuery and do it (imo) nicer-looking (with animation), easier (no "onload" in <body>), cleaner (don't forget about people who doesn't use JS) smile

Just check documentation or one web i tried it on  smile

KeyDog wrote:

Like in stopforumspam extension; insert a table that shows

Done. Download link  wink

BTW I found nice bug with this topic big_smile You can't search it (I tried "checker" "url checker" but I didn't found anything - guess I'll have to look whether search uses caching), but more importantly, this topic didn't show up in topics list for this forum - check out images) big_smile

Page 1
Page 2
Topic's last post

Is splitting topics core part of PunBB or is it an extension? Just thinking whether it could have any connection smile

Damn "IS" forgot about that  neutral  big_smile

Update
v1.1.2 Fixed bug in installation process (described in this post)

It's function authenticate_user in ./include/functions.php and it should load all fields from users table automatically  wink

158

(14 replies, posted in Programming)

BenInBlack wrote:

this way when they right click they just download the transparent image

And if they use brain, they will have your image in next 10 seconds by looking at source code (not speaking of print screen)  neutral

IMO watermark is only solution  wink

Guess you really hate spammers, right? big_smile

Anyway I believe the SQL query should be something like this

DELETE FROM punbb_users WHERE num_posts = 0 AND registered < NOW()-2592000 AND (signature IS NOT NULL OR url NOT NULL)

//should delete all users older than month with zero posts and sig or url not null

But I suggest you to make a backup since I haven't tested it (yup, still without Internet connection at home... I HATE MY PROVIDER arghh...  hmm)

Added "IS"  big_smile

@TomeOne: Before installing extension change line 35, at manifest.xml from this

if (!$forum_db->table_exists('pun_pm_messages'))

to this

if (!$forum_db->table_exists('stopforumspam'))

I know about this error (and I have fixed it at home), but I've got problems with internet connection so I can't upload it  sad

Check this wiki page

Well, there's always a way. For example at admin/install.php you can check lines 1562-1586 or you can try to change it in Phpmyadmin. But personally I don't recommend that. I could cause some problems  wink

163

(25 replies, posted in Feature requests)

ephestione wrote:

Even if I'd be dead curious to see how a completely <div> driven forum would perform

Actually, you can - this forum doesn't use tables at all big_smile

164

(5 replies, posted in Feature requests)

Guess nobody wants to monetize his forum as you do  big_smile
But you could try to add adsense into your forum's Announcements  wink

165

(154 replies, posted in Supported extensions)

a) This is illegal in many countries
b) It's immoral
c) There are more important (requested) things to do.

But if you are ok with that, you can try to look into phpmyadmin  hmm

Hi, yea, I guess this can be useful for some people smile

I see just one flaw here...

ephestione wrote:

who's not the admin (uid!=2)

IMO better would be $forum_user['group_id'] != 1 - guess you wouldn't like to get emails when you would gave administration to someone another one day, and sometimes (for example when you migrate from another forum), you don't have to have id 2 at all  smile

KeyDog wrote:

I'm not sure yet, but I've noticed the urls change daily. The spammers are using fast flux etc and are extremly adaptive... I guess this will all be very "beta"...

Damn it, how shifty they are!  hmm

KeyDog wrote:

Improvement idea:

Yup, I guess I could do that  smile

Ok, so problem fixed and extension seems to be working. It's cross-checking URLs you try to put in your signature or post.

http://dl.dropbox.com/u/6232434/PunBB/url_spam.PNG
It's checking only precise match with csv file (so the http://www.buildingquotes.co.uk/ isn't fetched as "spam" but the http://www.buildingquotes.co.uk/boiler-service/ is) (because of the youtube and so on wink)

Oh, and btw I changed the .csv file a little bit - I erased all white-space before quotes. I need that because I'm checking URL with those quotes (for exact match and not only part of it)

The only remaining problem is how to update the list? I think i'll have to check how works updating of official extensions  hmm  smile

Well, I could try to (well ok, I admit - I'm working on that right now, but I've got a little problem here which I probably leave on tomorrow) programme an extension, that would cross-check urls in posts and signatures smile

KeyDog wrote:

I'd have put it in ADDITIONS

True, I guess you can move it there  smile

KeyDog wrote:

but you should be asked to join the developers of punbb - as you seem to have time and expertise, in my opinion...

Well, I've got time now, but I guess it will change when school starts again in September sad

171

(18 replies, posted in Feature requests)

Well, almost two years later than I first time asked about this, but now I've got at least my own migration tool big_smile Try it out  wink

//I know, it's a little bump, but I guess some people can be subscribed to this topic...  smile

I didn't know which section to choose, but I guess the main thing is that this tool finally exists and not section in which it is published big_smile

Instructions
  • Backup your phpBB3 forum! (both db and code, I don't know what could possibly go wrong, and I guess you don't want to end up with totally new forum without any posts, right?

  • Delete all phpbb files and install brand-new PunBB forum

  • Download phpbb_converting_tool

  • Extract it into rootdir of your forum

  • Using Administration install the phpbb3_login extension

  • Run the phpbb.php file, choose what do you want to convert, fill in the phpbb database prefix (if any) aaand

  • Trigger it

Converts
  • Users

  • Categories

  • Forums

  • Topics

  • Posts

  • PMs //if extension installed

  • BB codes

  • Admin's in original "admin" group and admin performing the conversion

Features this convertor does not include
  • Groups

  • Forums permissions

  • Avatars

  • Polls

  • Attachments

  • and some unimportant stuff

Changelog

2010-08-05: Published & first satisfied customer tongue

Currently has been tested only on localhost on forum PhpBB 3.0.1 with approximately 700 users, 300 topics and 5000 posts. The script took 3sec on my crappy PC  big_smile

Hi, great extension. Still I have some "ideas" of what could be better.

- Firstly, you should check, whether the language file exists in admin's language, before trying to include it. They get error otherwise.

hook id="aop_start"

if (file_exists($ext_info['path'].'/lang/'.$forum_user['language'].'/'.$ext_info['id'].'.php'))
    include $ext_info['path'].'/lang/'.$forum_user['language'].'/'.$ext_info['id'].'.php';
else
    include $ext_info['path'].'/lang/English/'.$ext_info['id'].'.php';

- With this is little bit connected the URL which you are using for including files. I believe it would be better using pre-set variables rather than absolute url.

require FORUM_ROOT.'extensions/subject_index/admin/subject_index.php';

->

require $ext_info['path'].'/admin/'.$ext_info['id'].'.php';

- Other thing, for "cosmetic purposes" is that shortened name of topic would look better, if it would be followed by "..." (In HTML it is as entity &hellip;)

- And finally, last thing - at Administration you are increasing $forum_page['fld_count'] each time, instead of just once per input/label, which leads to <label> and <input> not being connected together  smile

Oh, and btw - don't forget to add your extension in Wiki wink

174

(3 replies, posted in Discussions)

Unfortunately, some of them don't - or at least don't work properly  sad  Especially those with Javascript usually have a lot of problems with different browsers (actually, this is problem of official extensions as well sad)

Moreover, when you see an extension, which's last tested version 1.3 you treat it otherwise than that with lasttestedversion 1.3.4 and last update two days ago  smile

But, well I should write there some info, that those extensions are likely to work, but it's not 100%  wink

Well, it's little bit "against" philosophy of PunBB (but I guess it could be part of pun_bbcode extension)...  neutral