Can you provide information about your environment;

  • extensions plus version number

  • database

  • server operating system

  • language of installation

427

(8 replies, posted in PunBB 1.3 bug reports)

thanks for report,

http://punbb.informer.com/trac/ticket/360


Can you provide information about your environment;

  • database

  • server operating system

  • language of installation

  • if possible text/code of posts causing trouble

thanks for report,

http://punbb.informer.com/trac/ticket/360

Hi,

Try one of these;

http://punbb.informer.com/wiki/_media/p … ache=cache

http://punbb.informer.com/wiki/_media/p … ache=cache

430

(8 replies, posted in Discussions)

troller wrote:

which one is more actively developed.

Depends if you consider the ~140 extensions that you can one click install. There are about a dozen official actively developed extensions by the PunBB team in the last year plus 120 over 24 months  by various developers.  The code for PunBB 1.3.4 has been unchanged for over a year I believe.

troller wrote:

How does PunBB compare with FluxBB?

I believe FluxBB is slower than PunBB since 1.4.2.

Of course you'll have to ask over there to get their view of things. They don't have the extension system though, They gave that up.

431

(8 replies, posted in Discussions)

Welcome

1. http://punbb.informer.com/forums/post/136162/#p136162   let us know if you need more info than that, and where you searched - if you think it belongs on wiki

2. the questions part of your registration was with extension pun_stop_bots which you'll see for download once you have installed the pun_repository extension

The above quotes from the registration process are just the 'rules'.  The rules are empty be default and you put in whatever you want/ is appropriate for your site. The rules themselves can be activated in the admin are under settings, registration.

Found the problem.
If I have pun_approval enabled that extension has a seperate functions.php which overrides the include/ one.
So I thought I'll just copy paste the line over to that functions at the right place.
Turns out $user_info is an undefined variable in that file...
Next I found that if I use $row it works.
So you're right, it works, thanks.

I put it in the welcome.tpl for testing...

Ok good to know;

also worth noting;
- remember that if a link has no http:// strpos will return FALSE, which permits us to insert http://  so the old pattern works again
- to standardise caps with str_tolower

don't know if that will help you...

Very interesting...

RE the BTW; Type and position and meant more for any disputes I have. If there's an X it means I manually changed/added a URL that was http://spamsitedotcom/folder/somepage to http://spamsitedotcom - so I don't need to worry about the paths being changed. S stands for signature and is most common. Position is to remember if there were several links in one signature. Both aren't relevant for queries, but important for me.

Grez wrote:

This will do smile
http://keydog.info/index.php?url_spam=http://example.com/example
[code=php]<?php
if(isset($_GET['url_spam']) && !empty($_GET['url_spam'])) {
    $url = mysql_real_escape_string(urldecode($_GET['url_spam'])); //protection against SQL injection + encoding for national domains
    $q = mysql_query("SELECT keyword, position, type FROM spamurls WHERE url = '$url'");
    while($z = mysql_fetch_array($q)) {
        echo json_encode($z);
    }
}
[/code]

Which will output something you can easily decode with [code=php]json_decode()[/code] smile

Will modification/use of this code permit me to query my db from other forums aswell? Or will this be for local integration ?

@Grez:
In the extension, why aren't we using normal string functions to cut everything out of the url tags till we reach http ( so we don't lose the spammers using backslashes ? and shouldn't the function be in double quote instead of single quote?

then we could use
[code=php]
$beginnhttp=strpos($url,"http");
$url=substr($url,$beginnhttp);
[/code]
I was told big_smile

Some examples of famous slogans;

Apple:  "The Power to Be Your Best."
Carlsberg: "Probably the best lager in the world"
HSBC: "The world's local bank"
Coca-Cola: "It's the real thing."
Guiness: "Guinness is Good for You."
M&Ms: "The milk chocolate that melts in your mouth - not in your hand."
Intel: "Intel inside"

so sometimes capitals are fine when emphasizing, and 'the' is often used... see M&Ms, HSBC, Apple
so it's just question of taste... but noted : 2 are already for dropping the 'the'.... and PunBB smile

Yeah, the salesperson I've been in contact with, is absolutely useless. I told him I'm no coder big_smile
If you know a way to get our own queryable db going I'll scrap them in a nanosecond....
I've got all the data in sql - all I need is way to query now....

439

(1 replies, posted in Discussions)

http://punbb.informer.com/wiki/punbb13/scripts

I wanted to add some scripts as discussed in this post
http://punbb.informer.com/forums/post/137656/#p137656

Thanks for the feedback, don't you think people will mentally add an A or the THE themselves....
What is PunBB?
a. THE Lightweight Php-Based Forum  - infering it's the choice when searching for a lightweight forum...
b. A Lightweight Php-Based Forum - infering it's just another one out there....
Lightweight Php-Based Forum - leaving it open to intepretation if it's  a. or b. or something else...

Ok thanks, I hope one of the PunBB Devs get back to you soon regarding the rebuilding issue...

And this one doesn't work you say? http://punbb.informer.com/forums/topic/ … -by-daris/

This as a sidenote for the future;

Would they have helped you; where should we put them to make it more visible?
PS: If you start getting spam posts or registrations you should immediately use one or more of these: pun_stop_bots, pun_approval, recaptcha or stopforumspam extensions

Well sadly that wasn't enough... there must be more places I need to add the 'registration_ip' to as the above alone didn't work... the email just shows the text
<user_ip>  smile

Binil wrote:

if I need to add some html text to that page..

What are you trying to integrate?
Do you have the html already?

If you can't code you're better off downloading a CMS and integrating a forum...IMO

I've added all the spam data to a new table called 'spamurls'
with this code;
[code=sql]
CREATE TABLE `spamurls` (
  `id` int(11) NOT NULL auto_increment,
  `url` varchar(150) NOT NULL default '',
  `keyword` varchar(100) NOT NULL default '',
  `position` varchar(4) NOT NULL default '',
  `type` varchar(25) NOT NULL default '',
  `date` date NULL,
  PRIMARY KEY (`id`)
) TYPE=MyISAM
[/code]

big_smile Now the question is, how do I most effiencently check that table (instead of using the .csv) ?

replace E2 with TEXT(E2;"yyyy-mm-dd") or whatever date format you like.

was the solution!

I only use OpenOffice now and am quite happy... also that quick response in their support forum really prooves you don't need MS big_smile

I'm just asking in the openoffice forum aswell... as it's not budging on the absolute number in my code... will let you know if and when it's resolved.... thanks in the meantime

Problem is:
I've changed the date format in the spreadsheet... but when I use in my spreadsheet and this code:

="INSERT INTO `spamurls` VALUES ("&A2&","&B2&","&C2&","&D2&","&E2&","&F2&""&");"

that cell doesn't know it's a date, it has regular formatting....

excately big_smile thanks!
will test in a little...