| Re: Help wanted with my blank page template mod | |
Posted: 08/15/2006 11:14 PM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 10:02 PM
Location: Upside down
|
|
|
|
|
|
No good. For some reason the text box where I copy the code must have a character limit on it. If you go into the ACP, "blank template pages management" , "configuration" then look for a page called "airport codes" click on edit and that is where the code goes. |
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/15/2006 11:37 PM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 10:02 PM
Location: Upside down
|
|
|
|
|
|
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/15/2006 11:39 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:02 AM
Location: St Pete, FL
|
|
|
|
|
|
Are the Template pages stored in your database? If so, there may be a character limitation on fhe field that is used to store these pages. If that is the case, you can increase the size of the field so that it can hold any amount of data. It's possible that the message box has a character limitation too. So I would look there as well...
|
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/15/2006 11:44 PM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 10:02 PM
Location: Upside down
|
|
|
|
|
|
These are the files included with the mod -
## Included Files: 5
## templates/subSilver/template.tpl
## templates/subSilver/admin/admin_add_pages.tpl
## templates/subSilver/admin/admin_edit_add_pages.tpl
## admin/admin_add_pages.php
## template.php
Just going through them to see if I can see anything |
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/15/2006 11:49 PM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:02 AM
Location: St Pete, FL
|
|
|
|
|
|
If there is a problem in the code, I imagine that it would be in one of the tpl files and maybe all of them. Check to see if there is a limit on the size of the input window. Also check the MOD to see if it created any new database fields and if so, were there any size restrictions on the field type...
|
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/16/2006 12:04 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 10:02 PM
Location: Upside down
|
|
|
|
|
|
Went through the files but couldn't find anything
This is in the mods .txt file
Code:
|
#
#-----[ SQL ]------------------------------------------
#
CREATE TABLE phpbb_add_pages (
page_id MEDIUMINT(8) NOT NULL,
page_name VARCHAR(100) NOT NULL,
page_content TEXT,
page_auth TINYINT(1) NOT NULL
);
|
Can't see anything that says a limit for the characters in the box.
Quote:
|
Also check the MOD to see if it created any new database fields and if so, were there any size restrictions on the field type...
|
How do I check that? |
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/16/2006 12:16 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 10:02 PM
Location: Upside down
|
|
|
|
|
|
Here's a screen shot of phpmyadmin
Do you maybe I have to add a field or something? If so Can you give me some instructions? |
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/16/2006 12:20 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:02 AM
Location: St Pete, FL
|
|
|
|
|
|
This is the database field that is probably storing your template page code. The TEXT field type should be able to store any amount of data since there is not a limit placed on it. A limiting value could look something like this TEXT(255), which would restrict the amount of text to 255 characters. But there shouldn't be a limit on what can be stored in a TEXT type field except for available space in your database...
I imagine that there is a restriction in the input field in the tpl files. If you can provide text links to them, then I can look through them too...
Creating text Links for phpBB files
First create a duplicate of the phpBB file on your PC, then rename the file by adding .txt to the end of the file name. Next upload the file to a location on your FTP Server accessible to the public and provide a link back here for us to analyze it...
The path to your file, if you were providing a text link to the posting.php file, could look something like this:
Code:
|
http://yourdomain.com/downloads_folder/posting.php.txt
|
|
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/16/2006 1:18 AM |
|
|
|
|
Citation |
Posts |
2152 |
Word Cnt. |
78,257 |
BDay |
Jun 15 |
Sign |
Gemini |
Sex |
|
|
|
|
Joined: Apr 22, 2005
Local time: 10:02 PM
Location: Upside down
|
|
|
|
|
|
|
|
|
|
Back to Top |
|
|
| Re: Help wanted with my blank page template mod | |
Posted: 08/16/2006 1:46 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 8:02 AM
Location: St Pete, FL
|
|
|
|
|
|
I'm now betting that if you cleaned up the code, it would work. I went into your ACP Template configuration and edited the Airport Codes template and it seems that I can add as much to it as I want. There were some illegal characters that needed to be deleted at the bottom of the code and perhaps that is what is preventing you from adding more to the page...
The formatting for the page code is nasty. Do you have the original code? If I have the full text, I might be able to correct the formatting for you using 1st Page 2000...
|
|
|
|
|
Back to Top |
|
|
| Information | |
|