26

(10 replies, posted in Discussions)

Just try to put "Powered" in search field, you will marvel at what you will see.

Howdy you all,

PunBB is great, yes, but what I do not like on that is the Active topics link, which shows the topics not older than 24 hours, and that seems to me too few for the older posts may by easily overlooked. So I would like to demonstrate this way how to change this option. Instruction is mainly geared towards the less skilled.

  1. In search.php find intval($_GET['value'])

  2. Number after that signify number of seconds

  3. Case in point: if you want to set two weeks just replace it by 1209600

  4. Done

  1. Afterwards you can open lang folder and its particular subfolder (English)

  2. In common.php find Active topics title and modify the following text

  3. The same do with search.php on the row Recently active topics

  4. Done

28

(110 replies, posted in Supported extensions)

ams: The extension works well till I add define('FORUM_DEBUG', 1); in config.php, then the chat-window is empty and its content is shown after adding a "shout", however nor after that the content (time and username) is displayed properly.

29

(110 replies, posted in Supported extensions)

Well, it will be fine have an option to delete old (useless) posts, lets say older than 500 rows. I reckon deleting them manually in MySQL would not harm anything.

30

(12 replies, posted in Discussions)

This could help.

31

(75 replies, posted in Supported extensions)

Lately I have had a problems with raising amount of spambots on my forum. This extension seems to work well on v1.4.2 (after a change in maxtestedon in manifest file) too. Thanks Slavok.

BUT as I noticed now, it will be fine have the option to turn it off while sending post - I would appreciate it only in registration. Please.

P.S.: Well, solved, the solution I have just found here. Thanks KeyDog.

P.S.S.: As an answer do not use numerals, it ought to be something original, particularly in English.

1/ Well, ok, instead of POST... find this:

.main-content .main-item .icon{border-color:#edf1f5 #DDE0E4 #c6cbd3 #BABFC6}
.main-content .redirect .icon{border-color:#f4f4f4 #f4f4f4 #f4f4f4 #f4f4f4}
.main-content .sticky .icon{border-color:#d7e5f3 #C3CFDc #9fb3c7 #90A2B4}
.main-content .closed .icon{border-color:#acacac #979797 #898989 #7A7A7A}
.main-content .sticky.closed .icon{border-color:#d7e5f3 #C3CFDc #898989 #7A7A7A}
.main-content .new .icon{border-color:#0080d7 #0065C0 #0058b3 #0072CA}

2/ Then you probably do something wrong, it has to work.

1/ In Oxygen.min.css find the line with POST STATUS INDICATORS and replace subsequent rows by something like this:

.brd .main-content .main-item .icon {float: left; border-width: 0px; height: 24px; width: 24px; margin-top: 9px; margin-left: -34px}
.brd .main-content .main-item .icon {background:transparent url(images/icon.png) no-repeat}
.brd .main-content .main-item .icon.moved {background:transparent url(images/iredirect.png) no-repeat}
.brd .main-content .main-item .icon.new {background:transparent url(images/inew.png) no-repeat}
.brd .main-content .main-item .icon.sticky{background:transparent url(images/isticky.png) no-repeat}
.brd .main-content .main-item .icon.closed{background:transparent url(images/iclosed.png) no-repeat}
.brd .main-content .main-item .icon.sticky.closed{background:url(images/iclosedandsticky.png) no-repeat}

2/ In viewforum.php find '.$lang_forum['Post topic'].' and replace it by an image tag.

34

(4 replies, posted in General discussion)

I find out the cause of that behavior today - in robots.txt file is a row with search.php which is needed to delete.

35

(6 replies, posted in PunBB 1.4 bug reports)

Greetings,

I wonder it is not here yet. When I get an email sent via forum mailer and subsequently I want to answer, field To in Gmail is filled by my email address, not sender's.

36

(4 replies, posted in General discussion)

It is really kinda magic, when I put www in front of the address, it worked for a while, a few minutes... Anyway I got around that by setting the background being an image of the commercial.

37

(22 replies, posted in Development)

I do not know where to put it, but concerning pun_move_posts, it will by fine to add possibility to move first post as well. I would appreciate it a lot. Also, I found out a little bug in move_posts: when you move post containing only a "0" character, it will be deleted and thus moved post empty.


andriesgeleijnse: If you rewrite "max tested on" field in manifest.xml, it does.

38

(4 replies, posted in General discussion)

I do not know what you mean by "enabling" HTML and where would I to do that, yet HTML tags do not work in post? I suppose the parser.php is need to adjust.

39

(14 replies, posted in PunBB 1.4 bug reports)

Thanks, I did it. Incidentally, I noticed that number of topics at right-bottom on index remained same.

40

(7 replies, posted in PunBB 1.4 troubleshooting)

Ahmed: Yep, check the manifest.xml.

41

(4 replies, posted in General discussion)

Hello,

my google adsense commercials are hiding on search pages like Active topics, Unanswered topics and so on. What is need to change in code to display them, please?

Thank you.
Tony

Kushi: Did you make any progress? I would like to add field with "year of birth", on my technical forum it would give a better idea who we are talking to. For 1.4.2, of course.

43

(14 replies, posted in PunBB 1.4 bug reports)

A user on my webpage has created two same topics, the second one a 3 seconds later. The first one cannot be opened, when I click on the link, the following text is displayed:

Sorry! The page could not be loaded.
This is probably a temporary error. Just refresh the page and retry. If problem continues, please check back in 5-10 minutes.

In database in topics table, fields first_post_id and last_post_id have set "0".


I assume the only way how to delete the topic from forum is via mysql database? But is it safe?

44

(4 replies, posted in General discussion)

Greetings everyone,

I wonder how to insert text in a table into the post so it is displayed properly. TAB key does not solve the problem. Is there some sort of BB code for tables?

Thank you.
Tony

45

(6 replies, posted in PunBB 1.4 troubleshooting)

I am looking for something for 1.4+ as well...

Many many thanks Koos, works excellent. wink

No one? This is part of code of viewtopic.php where I need to put it. Ideally invisible for guests.

<dt><strong><?php echo $username ?></strong></dt>
<dd class="usertitle"><strong><?php echo $user_title ?></strong></dd>
<dd class="postavatar"><?php echo $user_avatar ?></dd>

<?php if (count($user_info)) echo "\t\t\t\t\t".implode('</dd>'."\n\t\t\t\t\t", $user_info).'</dd>'."\n"; ?>
<?php if (count($user_contacts)) echo "\t\t\t\t\t".'<dd class="usercontacts">'.implode('&nbsp;&nbsp;', $user_contacts).'</dd>'."\n"; ?>

I reckon it would be pretty easy, however not for me. Only thing I am able to do is put the resulting code on the right place, that's why I ask.

Edit: Should I rather hang it on punres?

Hey guys,

I use this extension as my image gallery, version 1.2 I suppose... each link to user's gallery consist of "my_website/uploadimg_view.php?view=gallery&id=NUMBER" where the "number" is same as profil number of the user (my_website/profile.php?id=NUMBER).

So I need help with adding such link into each user's post, just below e-mail or website link. But how to do it?

Many thanks