1

(1 replies, posted in General discussion)

Sorry to post a non Techie post here. Moderators feel free to remove, if the post violates the rules.


One of my friends sister is fighting a uphill battle against Refractory Acute Myeloid Leukemia (AML), if any of you folks thinking of helping, please visit http://www.aidmysister.com

I was able to stay logged in - I used firefox

3

(11 replies, posted in PunBB 1.2 discussion)

http://www.vmware.com/vmtn/appliances/directory/691

dunno much abt  this, but I did not see any reference to this in the forum

Has anyone tried to integrate to Drupal yet ?

StevenBullen wrote:

Any reason its not on punres.org? (Apologies if it is and I missed it)

1 Laziness
2 Dint see lot of followers and thgt it is not that useful

http://www.gotoguide.org/dnld/forward.zip

if you run into any issues with it, let me know

7

(1 replies, posted in General discussion)

A modified version Sixteen tons [A country song]

http://www.gotoguide.org/index.php?id=9

If anyone could help me to make it better let me know

8

(8 replies, posted in PunBB 1.2 discussion)

Ok, guys I accomplished it with a little brute force programming

I added a new parameter to config.php  $db_user_prefix="xyz";

And did a search and replace like this

'.$user_db_prefix.'users

'.$db->prefix.'users


manualy edited viewtopic.php

and it works !  [Atleast as of I know, it works]


thanks for all the comments

After reading the post backwards, I realized that, what I did is exactly what Smartys suggested. thanks

pogenwurst wrote:
druvans wrote:

I opened the forwarding functionality for Guests also.
Restricted guests from editing message and title with readonly tag,  tested with IE and mozilla latest versions. hope that will work with older versions also

Installed the mod, works great. How can I enable forwarding for guests too, like you did?

Sorry, I was sleeping for a while.

There is two lines like as follows in the top of forward.php -

   if ($pun_user['is_guest'])
        message($lang_forward['No permission']);

comment out that.

I can send you modified forward.php file [in case you dont want to change the php file urself]

10

(8 replies, posted in PunBB 1.2 discussion)

Smartys wrote:

You want to use the same user table, but have nothing else the same?

yes

11

(8 replies, posted in PunBB 1.2 discussion)

How do I do this ?

I want to add 1 more forum to my site, I want use same the database[atleast the authentication], But I want the title and themes to be different.

The topics should be mutaly exclusive

12

(1,382 replies, posted in General discussion)

salt and pepper

13

(1,382 replies, posted in General discussion)

French kiss

14

(13 replies, posted in Feature requests)

vnpenguin wrote:

I'm trying use these functions. It seems ok. But I have problem with < and >: there are not displayed in the code.
Any fix ?

Thanks,

Here you go. May not be a great fix, but it works.  The > & < where getting processed two times, so the end results becomes  &lt; and &gt;  I added str_replace for those, you cld add more values into that array

function hilight($text,$lang){
   $result='';
   //recontruct the string
   $text='[h='.$lang.']'.$text.'[/h]';

  $array= preg_split('#\[/h\]#',$text,-1,PREG_SPLIT_NO_EMPTY);
  for ( $counter = 0; $counter <count($array); $counter ++) {
       $result=$result . preg_replace('#\[h=(.*?)\]((.|\s)*)\[/h\]#e','geshify(\'$2\', \'$1\')',$array[$counter].'[/h]');
  }
  $r_this = array("&lt;", "&gt;","&quot;","&amp");
  $r_with = array("<",">",'"',"&amp");
  $result        = str_replace($r_this,$r_with, $result);
  return $result;
}

here's the code changed

$r_this = array("&lt;", "&gt;","&quot;","&amp");
  $r_with = array("<",">",'"',"&amp");
  $result        = str_replace($r_this,$r_with, $result);

Jst came across this requirement, Thgt may be some hacker cld use it. If it is in appropriate to post this, moderators can always delete - but dont ban me

here's details: http://jobs.gotoguide.org/viewtopic.php?pid=1278

Dexus wrote:

Druvans, i doubt, because:
1. parsed text 100% will be larger then not parsed, so 65535 message length limit will be exceeded.
2. if you wish to "edit" text, you will face "tags".
so there is no alternative to cached field (16Mb).

The whole bbcode business is extremly dependent on regExs, so it will be a total rewrite of parser.php, I guess

17

(13 replies, posted in Feature requests)

I dint try to fix it as I wasnt sure anyone is going to use.  I ll try to see what I can do, or you cld use zaher's mod for this :  http://www.punres.org/viewtopic.php?id=188

Dexus wrote:

Anyways, if there are much highlighted areas in 20 posts (on single page page), GeSHi can dramatically slow down the server.
Some sort of "parsed-cached" message version will be useful.

I don't know if there any SQL DB blowing up or slowing down if there will be one extra field with 16Mb text field (related to original 65K).
Also some sort of "uncache" flag field, if "parser.php" have been rewritten.
And so on...
Well, i'd thinking of it long ago and still haven't started to implement even a part of it smile
Good luck!

May you cld pre-parse the text before saving to DB and set your parsed flag=true

19

(1,382 replies, posted in General discussion)

thrust

I think , the answer is misc.php

21

(7 replies, posted in PunBB 1.2 discussion)

tnx

22

(1,382 replies, posted in General discussion)

the accused

23

(7 replies, posted in PunBB 1.2 discussion)

I see something like  11.95 13.49 3.07
is it bad or good
mine is a shared hosting with textdrive

24

(7 replies, posted in PunBB 1.2 discussion)

what does the load numbers signifies ?

25

(1 replies, posted in PunBB 1.2 discussion)

While trying to do a search I am getting a blank page (only when search result is none).

I dont remember modifying anything with search page.