thats this bit

#
#---------[ 16. FIND about 373]
#

    // Parse message text
    //
    function parse_message($text, $hide_smilies)

#
#---------[ 16. REPLACE WITH ]
#

    // Parse message text
    //
    function parse_message($text, $hide_smilies, $no_images)

whats wrong with it?!?!

uh oh now I am getting this
Warning: Missing argument 3 for parse_message() in /home/ultima/public_html/forums/include/parser.php on line 373

I have the elektra profile mod installed http://www.punres.org/viewtopic.php?pid=17869#p17869

and tried to add image switch http://punbb.org/forums/viewtopic.php?pid=64996#p64996

its not working now, it worked on my old board where it was just image mod without the elektra profile mod.

the profile mod needs signatures on to work, the image has something to do with smilies in admin options I think. Does anyone see a conflict or why the image switch per forum wouldnt work? It just displays the link with [img] tags, doesnt show the actual picture.

Thanks in advance for any input!!

54

(47 replies, posted in Programming)

elbekko wrote:

Yeah, I started on a store mod with paypal integration once. I read through alot of docs and such, and the problem I always ran into was handling multiple items at once.

That sucks sad

55

(47 replies, posted in Programming)

elbekko wrote:

A single item should be easy enough to do. So this shouldn't be very hard.
Maybe I'll take a shot at it for 1.3 smile

Awesome!

and like it was mentioned above a script store would be nice. if you had them for like 5$ I would uses a bunch, I already have maybe 10 mods that I have added and would like to change a few other things on the board so if someone did the other 10 that would be 100$ from to Punnbb. Seems reasonable to me smile

ok replied to both

sorry dealing with a poster, sending now

hmm I subscribed to this thread but got no email. Thats weird. Ive noticed my board email as admin doesnt reach my posters at hotmail at all.

Smartys wrote:
TFD wrote:
Smartys wrote:

Drop me an email. I'll investigate.

MySQL should not be a bottleneck, although I can think of some instances (and some modifications) which cause issues. I'll be able to tell more by looking at your site.

Sent, did you get it?

No, just send it directly to my email (smartys at this domain).

at punbb.org? Sent smile

Smartys wrote:

Drop me an email. I'll investigate.

MySQL should not be a bottleneck, although I can think of some instances (and some modifications) which cause issues. I'll be able to tell more by looking at your site.

Sent, did you get it?

ok so I had a shared host, once we got to were we had 70 people on constantly the server was bogged down.

I switched to another host and had to upgrade almost immediately to a VPS due to memory usage, even a VPS with 256 MB dedicated wasnt enough, I got errors and corrupted files constantly. So I upgraded again to 512MB ram and that fixed the errors. So during college football season (our busiest month) we had max 115 people online at a time and it worked just fine. Now that the season is over and usage is down I expected to see an increase in server response time. Instead last week the board slowed dramatically, I told the host and they cant figure it out.

I should state that my posters use the board almost like a chat, constantly reading, refreshing, and posting. This isnt the type of place wher you post and wait a day for a response. Its very busy but its just text with small 50x50 avatars, no picture or video uploads or downloads.

So the host is telling me the bandwidth is fine, I have plenty of memory but my CPU is maxing out and its caused by a heavy mysql load.

So here some questions:
I was asked if the board has a caching modual, I know there is a cache but Im not sure if its the same, the cache on punbb is for the search right?

Anyone have a punbb that has a lot of use? Does anyone have mysql problems?


The system admin said some of the more popular boards dont use near this much CPU and for the posters it should be fine and that I should consider using one of the more popular boards.

Im at my wits end dealing with this!

My boards info
its laid out like standard punbb pretty much, only a few mods like profiles. Nothing that should effect performance. No ads, no graphics except the banner.

I do have about 150 styles/themes for the users to choose from, thats the only thing I can think of, they are all laid out the same just different colors for different sports teams and each has a different banner.

database is around 300MBs, gzip is on, I have pruned and optimized the database as far as using the mysql tools in cpanel

I set a robots.txt to stop spiders (at the hosts request)

Bandwidth used
oct 28gbs
nov 25gbs
dec 22gbs
so far this month 10gbs (total 20gbs by months end)



does anyone have any ideas? Im desperate, they are saying the cpu use is going to make me upgrade again to a dedicated server and thats a lot more money. Why cant a simple text board handle 70 posters? is it mysql? Id be willing to let someone from punbb log in to my control panel or FTP to check whatever you need. Im out of ideas.



Thanks to anyone who can help me out.

MattF wrote:
TFD wrote:

User title below your name (overrides rank if they are used). Yours says Senior Member.

Are you allowing users to set them and want to limit them? If so, find the input box for the title, (I would assume in profile.php), and just set a max characters limit on the input box. That's the simplest 'hack'.

Thats it. Thanks.

No. I am going to give them the power to set their own titles. I want to limit the total number of characters that can be used so that it is only one line. I understand how to set their title myself as an admin. What I want is to change the length a user title can be for everyone.

User title below your name (overrides rank if they are used). Yours says Senior Member.

Im sure there is a file that has the character limits I just dont know which one. Anyone know what file I need to look in??

Thanks.

I had several mods, one of them banned a users IP but wont fess up. Is there a way to look up that IP and see who banned it or something?

anyone?

I want to change the number of characters so its max is only one line. Where would I go to do that?


Thanks,
TFD

70

(28 replies, posted in PunBB 1.2 troubleshooting)

ok. Thanks. I'll see what they come up with.

71

(28 replies, posted in PunBB 1.2 troubleshooting)

I have no reference to know if 70 people on and posting at once is a big load for mysql or this message board software or shared hosting so Im having a hard time deciding what to do.

72

(28 replies, posted in PunBB 1.2 troubleshooting)

electra profile mod
easy poll

I also changed this

login box
removed the views column

73

(28 replies, posted in PunBB 1.2 troubleshooting)

elbekko wrote:

Contact your host, either you're running something that makes a new connection every 2 lines of code, or they're messing with the server.

oh, they turned on a program to log my database usage. Would that cause it?

74

(28 replies, posted in PunBB 1.2 troubleshooting)

last night they said the queiries were taking like 4 times as long as usual and that my scripting was messed up. How can I check this out? My host is telling me the shared plan is not enough and I need to switch to VPS and Im running a text only message board with 70-80 people on. They do use it a lot, almost like a chat so there are a lot of refreshes. Doesnt seem like thats a lot. Is it? how can I check whats wrong?

this is set by the host correct? I get this error

Unable to connect to MySQL server. MySQL reported: User xxxxxx has already more than 'max_user_connections' active connections.