hey Koos...I put a couple of thoughts about this plugin over on the punres thread:
http://www.punres.org/viewtopic.php?id=3245

In general which board should I use for support for this plugin?

ok cool thanks

sorry to ask two questions in one thread but ...

is there anywhere that states a predicted release date...will it likely be this year? next year?

I really like where 1.3 is going, the way the profile is laid out especially.

But I have a couple of questions.

Will coppermine still be able to bridge with it?

will the mods that are out there that work for 1.2.x work with 1.3 even if they are not updated to work with the plugin system?

initial thoughts...great update, having spaces replaced with underscores makes it much more appealing to me.

In the gallery view there should be a "get code" button under each thumbnail...better still a little auto-copy-to-clipboard box like photobucket do.

Also it would be cool if there was a config option that changed the outputted code to the whole image instead of a thumbnail linking to the image.


I think this plugin would be far better if it was integrated into post.php so that users could do the whole uploading thing as they are making a post. And the gallery was under the post box so you could easily insert images into the post without having to leave the post page.

This is my thoughts anyway.

improvements look fantastic...I will try it out now...thanks for making this mod

MattF wrote:
nickfzx wrote:

images show up as urls not images if there is a space in the image file name...which is why I won't be using this just yet.

Proper operating systems wouldn't use any spaces in filenames. big_smile Seriously though, all you need to do is slightly modify the uploadimg.php script to include quotes around the urls, so it's "http:/path/to/file" instead of unquoted.

oh cool...yeah i know filenames shouldn't have spaces but if lots of people use a forum then I can't expect them all to understand this.

images show up as urls not images if there is a space in the image file name...which is why I won't be using this just yet.

Also is there an easy way to switch from not using thumbnails...I would prefer this I think.

Would be really cool if this mod could make use of Ajax...so you could start writing a message and when you want an image then you just click insert image the image is uploaded and the correct url with IMG tags is stuck strait into your post field without even refreshing the page.

I don't think this would be too hard to do and would put an end to my search for a truly good image upload solution for punbb.

(sorry for posting same thing here and on punres)

So this might be a difficult one, so if anyone fancies a challenge here goes.

I have PunBB integrated with Coppermine Photo Gallery.

I want to have PunBB's forum rankings to be based on the combined totals of the users posts in punbb and comments in coppermine...so there is an incentive to make comments basically.

the MYSQL call to get the total number of comments for a coppermine user is this:
SELECT COUNT( * ) AS `Rows`
FROM `copper_comments`
WHERE author_id = XX

the XX is where you input the desired user id.

this is what I have tried to do to the get_title function in functions.php:        (excuse my nonsense variable names)

//added this code to create a variable - $bow - that contains the number of comments the current poster has made using coppermine
// poster_id will only work on viewtopic.php, for profile.php and userlist.php it should be $user['id'] or something- will need to maybe have 2 versions of this function.
    $dude = $user['poster_id'];
    $number_of_comments = sprintf("SELECT COUNT( * ) AS `Rows` FROM copper_comments WHERE author_id=$dude");
    $test = mysql_query($number_of_comments);
    $bow = mysql_fetch_assoc($test);
    $bow = $bow['Rows'];
//end of added code

        // Are there any ranks?
        if ($pun_config['o_ranks'] == '1' && !empty($pun_ranks))
        {
            
            @reset($pun_ranks);

            while (list(, $cur_rank) = @each($pun_ranks))
            {
//added a + $bow to add to the  num_posts to get the new total
                if (intval($user['num_posts'] + $bow) >= $cur_rank['min_posts'])
                    $user_title = pun_htmlspecialchars($cur_rank['rank']);
            }
        }

now i realize that poster_id will only work for viewtopic.php, if I use $user['id'] then this mod work fine when looking at the userlist.  When looking at viewtopic however with poster_id it works fine...the users rank is updated based on how many coppermine posts they have made but it will only show one post in any thread.  Even if there are many replies.

I am not sure exactly why this is happening.

Any help on this would be very much appreciated.

Would it be simpler to have coppermine add to num_posts row everytime someone makes a comment in coppermine?

34

(3 replies, posted in PunBB 1.2 discussion)

because you have to change your password once you register (it is extra hassle)...it would be nice if people could set their password during registration but then still have the email verification...so that I know they have entered a correct email address.

thankyou so much

I just made a donation to punbb to thank you guys for all the help smile

Is it possible to change the default sort order of userlist.php

have looked at the file userlist.php and can't figure it out.

would like it so the default sort order is the "date registered"..."newest first".

37

(3 replies, posted in PunBB 1.2 discussion)

works like a charm, thankyou smile

38

(3 replies, posted in PunBB 1.2 discussion)

is there a mod out there...or is there a way of going about doing this.

Having blank avatars...like a silhouette of a person that all users have as there avatar unless they change there avatar.

Many forums i see have this option on them.

fantastic

just installed it on my site...works with no problems

thanks for sharing smile

cool i will give it a try

had a search but couldn't find it

is there a mod that allows you to choose your password when you register but then you still have to activate your account via email...by clicking a link in the email that activates the account.

Most big sites like ebay and amazon have this system of signup.

Is it out there?

anyway to have people logged out after 2 days (or n days) of inactivity?

universtities and other public places often have cookie's disabled on computers.

At my uni i tried loggin in and wondered why it wasn't working...luckily they hadn't locked the browsers control panel so i just turned cookies back on.

44

(4 replies, posted in PunBB 1.2 troubleshooting)

oh fantastic thats what I was looking for

thank you smile

45

(4 replies, posted in PunBB 1.2 troubleshooting)

just looked all through that and it gave me no clue.

All I want to do is be able to do a forum search from somewhere else.

Like you can with google for example:

http://www.google.com/search?hl=en& … gle+Search

could you expand on what you mean by looking at that table as I can't seem to learn anything from it.  I also skimmed through the search.php file which I am guessing holds the key to this.

46

(4 replies, posted in PunBB 1.2 troubleshooting)

Hi

is it possible to do a search of punbb with a custom search box outside of punbb...this searchbox would just insert whatever word was entered at the end of an url.

at the moment a search for "sharks" on this forum looks like this:

http://punbb.org/forums/search.php?search_id=450241131

is there a way of doing it so that it could look like this:

http://punbb.org/forums/search.php?search_id=sharks

or could someone tell me how "sharks" becomes "450241131"

I am trying to code a custom, universal search box for punbb.

should also be able to grab the avatar from the punbb avatar folder at the point when the comments are displayed...that is a real incentive for me to use the user ID and not the username (as the user ID is required to get the avatar).

@ siRio:
Don't hold your breath, I will probably do this in a month or so...right now I am just planning out what upgrades to make.

the lazy hack is fine for me as long as it is secure enough...I can see that doing it server-side is definitely better.

I will try it out when I have a free moment and let you know if it works.

Thanks for all your help.

Ah I see what you mean.

So I should write some php in the code where wordpress processes the submitted comments to alter the need for a username and instead grab the current users id from the db.

Won't calls to punbb current user data be out of scope inside wordpress's workings?

ah I understand now...that is a bummer I would really like to be able to do this.

Maybe I'll send out all the private messages and then email everyone (in batches) to inform them they have a private message...I can get all the email addresses easily from the database.

This is sort of the same thing just not automated.

I only want to do this as a one off in a couple of months so it doesn't matter that it's not automated.