did you

uninstall
clear cache
reinstall

that extension?
?

if you changed in your admin section to 120x120 you need to also change manifest.xml of extension on line 38 replacing 60x below with 120px...
[code=xml]style="width: 60px; height: 60px;" [/code]

628

(10 replies, posted in PunBB 1.3 extensions)

Would be even more brilliant if you could add a little map icon , analog to this extension;
http://punbb.informer.com/forums/topic/ … stify-v11/

I had a little trouble before pasting the url link from maps.co.uk - does it make a difference if it's http://maps.google.co.uk/ in the link (looking at the manifest I guess could well be?)

Thanks.

Edit: If I delete the

http://maps.google.com/maps?

from the google generated link and paste it into map tag it works as I want... not showing the left hand side of google maps page and header part of google website....
Can you maybe give exact code you pasted to get screenshot result?

629

(25 replies, posted in Feature requests)

@ephestione: thanks


[code=php]
<?php

$mobile_browser = '0';

if(preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) {
    $mobile_browser++;
}

if((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml')>0) or ((isset($_SERVER['HTTP_X_WAP_PROFILE']) or isset($_SERVER['HTTP_PROFILE'])))) {
    $mobile_browser++;
}   

$mobile_ua = strtolower(substr($_SERVER['HTTP_USER_AGENT'],0,4));
$mobile_agents = array(
    'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
    'blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno',
    'ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-',
    'maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-',
    'newt','noki','oper','palm','pana','pant','phil','play','port','prox',
    'qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar',
    'sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-',
    'tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp',
    'wapr','webc','winw','winw','xda','xda-');

if(in_array($mobile_ua,$mobile_agents)) {
    $mobile_browser++;
}

if (strpos(strtolower($_SERVER['ALL_HTTP']),'OperaMini')>0) {
    $mobile_browser++;
}

if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'windows')>0) {
    $mobile_browser=0;
}

if($mobile_browser>0) {
   // do something
}
else {
   // do something else
}   

?>
[/code]
source

Now I'm just wondering how to call style/Oxygen_mobile/ (instead of style/Oxygen/)   in that last part of the code
above.

Anyone know how to do that? And where to put the above code big_smile

PS: Even this site looks bad on my netbook :S !

I'll send Slavok a message he should respond to those follow up questions. Outside my knowledgebase big_smile

Maybe this extensions code will help you.
http://punbb.informer.com/forums/topic/ … line-list/
He'd added the settings to admin features panel...

632

(34 replies, posted in PunBB 1.3 extensions)

PS: @nhodges: I saw the most popular way of numbering is <version>0.1.0</version> for beta and then <version>1.0.0</version> for full tested version - subsequent fixes would be  <version>1.0.1</version> and a feature enhanced version probably <version>1.1.0</version>.   Also quick bullet with what was fixed is interesting in initial post smile

Thanks.

633

(34 replies, posted in PunBB 1.3 extensions)

Thanks!

nhodges wrote:

Email/message user when they are tagged

Something I'll want to install here.

Just wondering if that feature should be setable so that it only pms/emails if it's in a topic that isn't already subscribed by the user. Assuming someone is already setting subscribe you'd not want another alert.

One could also consider having the alerts in a box (maybe next to messages) like you see on facebook when you get a comment/message. That would be very uninvasive.

Also wonder if one should include link to post or whole post in the email. But might need safeguards against spammers abusing.

Best would be both as options in profile settings big_smile
Just some thoughts...

Can you just install this new version. Grez has added information to the admin start page.
So you'll always be able to see if and what is being caught/blocked.
Instructions also added on page where .csv can be downloaded for future.

V.1.0.3 

  • Grez added section to admin startpage to give an overview

Downloads

Mirror 1 | Mirror 2

Brilliant big_smile
See what we've been catching thanks to you:

http://keydogbb.info/img/extpic.png

I was just trying to manually add some code to collect how many spammers/bots I've blocked and show in statistic, but I'm having trouble knowing where to put it in lines 265-304.... or how I select the table "stopforumspam" and/or "url_spam"...

[code=php]
// Collect some statistics from the database
$query = array(
    'SELECT'    => 'COUNT(u.id) - 1',
    'FROM'        => 'users AS u',
    'WHERE'        => 'u.group_id != '.FORUM_UNVERIFIED
);

($hook = get_hook('in_stats_qr_get_user_count')) ? eval($hook) : null;
$result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
$stats['total_users'] = $forum_db->result($result);

$query = array(
    'SELECT'    => 'u.id, u.username',
    'FROM'        => 'users AS u',
    'WHERE'        => 'u.group_id != '.FORUM_UNVERIFIED,
    'ORDER BY'    => 'u.registered DESC',
    'LIMIT'        => '1'
);

($hook = get_hook('in_stats_qr_get_newest_user')) ? eval($hook) : null;
$result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
$stats['last_user'] = $forum_db->fetch_assoc($result);

$query = array(
    'SELECT'    => 'SUM(f.num_topics), SUM(f.num_posts), SUM(f.stopforumspam)',
    'FROM'        => 'forums AS f'
);

($hook = get_hook('in_stats_qr_get_post_stats')) ? eval($hook) : null;
$result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
list($stats['total_topics'], $stats['total_posts'], $stats['total_stopforumspam']) = $forum_db->fetch_row($result);

$stats_list['no_of_users'] = '<li class="st-users"><span>'.sprintf($lang_index['No of users'], '<strong>'.forum_number_format($stats['total_users']).'</strong>').'</span></li>';
$stats_list['newest_user'] = '<li class="st-users"><span>'.sprintf($lang_index['Newest user'], '<strong>'.($forum_user['g_view_users'] == '1' ? '<a href="'.forum_link($forum_url['user'], $stats['last_user']['id']).'">'.forum_htmlencode($stats['last_user']['username']).'</a>' : forum_htmlencode($stats['last_user']['username'])).'</strong>').'</span></li>';
$stats_list['no_of_topics'] = '<li class="st-activity"><span>'.sprintf($lang_index['No of topics'], '<strong>'.forum_number_format($stats['total_topics']).'</strong>').'</span></li>';
$stats_list['no_of_posts'] = '<li class="st-activity"><span>'.sprintf($lang_index['No of posts'], '<strong>'.forum_number_format($stats['total_posts']).'</strong>').'</span></li>';

($hook = get_hook('in_stats_pre_info_output')) ? eval($hook) : null;

?>
[/code]

What would be best:
Knowing how to easily add via a hook & manifest

637

(20 replies, posted in PunBB 1.3 extensions)

This is totally different extension fantasma.
You are confusing

Antispam System

    * Created by PunBB Development Team.
    * Version v1.3.4.
    * Adds CAPTCHA to registration, login and guest posting forms. Puts restrictions on adding user signatures and website links.

and

Stop spam from bots 0.2

The extension will ask some questions to prevent bot registration and posting.

   


!!!!!!!!!!!!

Any board, SMF, vbulletin, phpbb - all the captchas have been cracked.
So you have to work with other extensions like Pun Approval.

639

(1 replies, posted in PunBB 1.3 additions)

Like it. Was thinking same y'day when registering on another forum.
Also nice if as soon as you move on - tab - after entering username, it gives you little green tick.
Same with the strength would be cool : weak medium strong
Added to unofficial feature requests list

It might be good to replace any url/uri in the body of responses sent out by email with a text 'unverified link' - go to forum to see the link.
instead of letting fast spammers get their url/uri into the inboxes of forum members

so if condition

http://
or [u r l=]

etc?


Just a few minutes ago one posted 8 or so posts :S Not cool

Good luck? tongue It doesn't have any settings. It's on from the moment it's installed.

If it doesn't decrease the number of spam registrations/posts/signatures please follow up with:

  • What kind of spam registrations are you getting at the moment?

  • How many  daily?

  • What settings do you already have activated to prevent them

  • Which Anti-Spam Extensions

Recommended solutions in most cases

  • Pun Approval for registrations on manual verify

  • Pun Approval for posts by new members

  • Pun Stop Bots for asking a forum specific question

642

(16 replies, posted in PunBB 1.3 extensions)

http://punbb.informer.com/wiki/_media/p … v1.0.5.zip
just added max tested 1.3.4 and named version 1.0.5
@ daris;  can you modify that on your trac? really appreciated work
will even install it here, as it's good stuff

example
==================

[code=php]

<?php
/**
* Adds a new post to the specified topic or a new topic to the specified forum.
*
* @copyright (C) 2008-2009 PunBB, partially based on code (C) 2008-2009 FluxBB.org
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
* @package PunBB
*/

define('FORUM_SKIP_CSRF_CONFIRM', 1);

if (!defined('FORUM_ROOT'))
    define('FORUM_ROOT', './');
require FORUM_ROOT.'include/common.php';

($hook = get_hook('po_start')) ? eval($hook) : null;

if ($forum_user['g_read_board'] == '0')
    message($lang_common['No view']);

// Load the post.php language file
require FORUM_ROOT.'lang/'.$forum_user['language'].'/post.php';
[/code]

Ok , np

Did you try uninstalling the extensions one by one, to see if the problem goes away if you uninstall.
As soon as you've tested one extension off and still had prob turning it back on and trying second and soforth...?

644

(4 replies, posted in PunBB 1.3 discussion)

It seems some forum admins/owners don't mind having "lurkers" (people registering but not asking questions) on their boards. But why those users need signatures or weblinks I don't really understand, so I agree with you.

Okay, just been thinking about it. How about if you have a forum where users can PM others, then maybe they want that info in signature or profile and it would be legit.

An option - on default set to block - would be cleaner?

Grez wrote:

I'm thinking whether "silent updates" shouldn't be added into PunBB core as well

I'd make it optional, but have it in core yes.

Grez wrote:

Everything's possible

What resources, articles, info do you have on subject?

Negative.

You can write her and ask for her style or FORGET IT.

PS: Banned cos he started swearing in signature smile

I'm wondering if it's possible to set/code auto-update for extensions (well just an added .csv file in the extension).

Like that if a user is using URL checker (either standalone or as part of stopforumspam) the list of bad urls will be updated whenever there is a newer version.

648

(9 replies, posted in PunBB 1.3 discussion)

Grez wrote:

If it would be link to the Wiki page with extensions, that would be imo better.

Yes that would be fine.

Grez wrote:

There are some bugs in core

Which ones are you thinking of?

edit:
http://punbb.informer.com/forums/topic/ … g-problem/

http://punbb.informer.com/forums/topic/ … ord-admod/
found these two just today....


PS: I'd suggest you join the devs, with your knowledge! (temporarily anyway - as you mentioned school tongue

Grez wrote:

reworking extension repository a little bit (sorting to categories...)

It would already help a lot of, if instead of 5 lines (when you got to extension section in admin area) for each ext , there was just one line (and maybe two columns). Like that it would be a more easy to navigate the list. There are 100-150 extensions - getting that on a list isn't that messy.

Could also be done admin > extensions > official      &  admin > extensions > unofficial.

If you got to 'user' > administration >
there's a 'assign user to group' drop down box...

or do you mean once he was admin you couldn't change him back?

650

(4 replies, posted in PunBB 1.3 discussion)

Yes that probably would be a more popular approach ! smile
/admin/groups.php?edit_group=3
that's where such a feature option would be added right?

IF you make such an extension would be very cool big_smile