UBB.Dev
Posted By: Greg Hard Maximum Number of Images control panel mod! - 09/29/2000 3:14 AM
Simple. Tested and working.

in cpanel2.cgi find:
Code
code:
under it add:
Code
code:
now for postings.cgi
find:
Code
code:
replace with:
Code
code:
find:
Code
code:
replace it with:
Code
code:
find:
Code
code:
replace with:
Code
code:

Go to your general variables, and at the bottom set the maximum number of images to whatever.

TEXT FILE http://www.h-realms.com/cpimage.txt

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!
Thanks! Looks great!

------------------
Billy Bandit
Bandit Boys
No problemo.

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!
u wouldn't mind tossing dis in a txt file for me wouldya man? I hate copying an pasting from IE
me too.
Posted By: Kola Re: Maximum Number of Images control panel mod! - 10/10/2000 9:23 AM
Just edit his post and copy from there.
MasterMind, can you please tell me exactly what this hack does? I understand that you can set the maximum number of images in the CP. The question is, the maximum number of images for what?

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it.
Mr. Webb Network Services
MrWebb.Net UBB Hacks List
Posted By: SpAwN Re: Maximum Number of Images control panel mod! - 10/11/2000 12:14 AM
mrwebb its going about maximum images in a post,
Normaly you can post 8 images max at the same time in UBB,
But with this hack you can change the counts on maximum images,
in your CP.

I didnt installed yet but, i am going to install right now,

Great hack btw MasterMind, thanks [Linked Image]

------------------
Heres a text file. http://www.h-realms.com/cpimage.txt

------------------
UBBDEV Moderator
OCCUPATION: Programmer, webmaster.
Read my BIO in the team link!
Thank you. I had to add it to my hack list.

------------------
When you sin, you don't fall FROM God's grace, you fall INTO it.
Mr. Webb Network Services
MrWebb.Net UBB Hacks List
Quote
quote:

I can't really understand where to find this..could u plz explain ??


------------------
I installed it and put 20 as max (it count the smilies) but when I try to set more than 9 images in a post I get a "Connection Timed Out" Why?

This message has been edited by anderzzo on November 02, 2000 at 05:46 AM
Quote
quote:
I've got the same problem
come on

help me, please
Doesn't anyone got a clue to this prob?
Pleeeease!!!!
What happens is as you increase the number
of allowed images it increases the time it
takes to count. I am not a perl guru but I
do know after testing this it bogs
postings.cgi if you up the limit a lot.
If you delete the check out of it runs fine
with no delay. So if you increase above 8 expect a bigger delay in postings.cgi


Matt


This message has been edited by Matt99 on November 07, 2000 at 10:09 PM
© UBB.Developers