hi i had a problem with the posts preview....i fixed it this way
i replaced this in Post.template
var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);
for
var i, preview = XMLDoc.getElementsByTagName("smf")[0], XMLDoc.getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);
My preview button works now...not in a dinamic way (like it should be) it refreshes the hole page ...but that fix created a new bug..my message icon doesn't change when i pick one from the combobox
if anyone can give a hand that would be awesome
-Jebo87
Sorry jebo87 but we can't reply because a lot of important information is missing, please read the posting guide and repost.
hmm ok.....well i'm using SMF 1.1.4 and tiny portal 0.9.8....i have no mods and no themes installed (i just create the forum..i just installed it) ...my error log doesn't show anything wrong ...i don't know why it doesn't work....that was the reason a reinstalled smf 1.1.4 and tiny portal
well i'm using SMF 1.1.4 and tiny portal 0.9.8....i have no mods and no themes installed (i just create the forum..i just installed it) ...my error log doesn't show anything wrong ...i don't know why it doesn't work....that was the reason a reinstalled smf 1.1.4 and tiny portal
hi i had a problem with the posts preview....i fixed it this way
i replaced this in Post.template
var i, preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);
for
var i, preview = XMLDoc.getElementsByTagName("smf")[0], XMLDoc.getElementsByTagName("preview")[0];
setInnerHTML(document.getElementById("preview_subject"), preview.getElementsByTagName("subject")[0].firstChild.nodeValue);
My preview button works now...not in a dinamic way (like it should be) it refreshes the hole page ...but that fix created a new bug..my message icon doesn't change when i pick one from the combobox
if anyone can give a hand that would be awesome
-Jebo87
Topics merged.
Please do not cross post.. it makes no sense.
Thanks
ok..i'm sorry i posted it that way..but can anyone just read my question i need help!!!...you guys merged the topics but didn't give me any help at all.......thanks anyway
Unless it's theme related, the post preview is a feature of SMF and has little to do with TinyPortal.
Have you posted this over at SMF?
It is definitely an SMF problem. Post preview is very slow to appear but will appear eventually. It is the same without TP installed, so there is no interference from TP.
I have the same problem after modding smf 1.1.4 with TP 0.9.8
Please read Nokos last reply.
My forum was working without errors, now I installed TP and this error appears, so in my humble opinion I think TP has something to do with it???
20k members use TP on their sites, probably a handfull have this error, it must be something else that causes this error for you, but im sure it's not TP related.
Preview posts doesent even get touched by TP what so ever.
List up your other mods and give some more info on your setup please.
1. Group on Registration 1.1
2. Custom Profile Field Mod 3.16
3. Ad Managment 2.3
4. SMF 1.1.2 Update Package
7. SMF 1.0.11 / 1.1.3 Update 1.1
8. SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update 1.0
9. Auto Embed Video Clips 1.9
10. TinyPortal 0.983
Blueskies theme
When I replace the lines as suggested in the post above, I am getting other errors.
When I replace with the lines above in jebo89 posts I get (Firefox error log:)
Fout: missing ; before statement
Bronbestand: http://www.***/forum/index.php?action=post;board=840.0
Regel: 411, Kolom: 62
Broncode:
var i, preview = XMLDoc.getElementsByTagName("smf")[0], XMLDoc.getElementsByTagName("preview")[0];
A green arrow poinst to the second getElementsByName (it points to the g from the word 'get')
And this one appears at the same momen:
Fout: swapOptions is not defined
Bronbestand: http://www.***/forum/index.php?action=post;board=840.0
Regel: 700
When posting an additional error:
Fout: saveEntities is not defined
Bronbestand: http://www.****l/forum/index.php?action=post2;start=0;board=840
Regel: 1
For the last time, this is not related to TP what so ever.
If you add other mods to your forum, seek help from the modauthors for the mods you use.
Also when you change code on your template or source files, we really dont give support if it's not some correction to tinyportal.
I see that you have atleast 2 other mods that really DO change the part where you get the error from, TP is not one of them.
This topic is now locked.