Post Preview

Started by dbinoj, April 21, 2007, 11:18:11 AM

Previous topic - Next topic

Sarge

Can you post or PM me the username and password for a regular member account (not admin or moderator)?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Kindred

well, my questrion would be:    Do the functions work on your site WITHOUT tinyportal?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

dbinoj

#22
@Kindred
No. without TinyPortal also these are not working...

@Sarge
Done. See PM inbox.

Thank You in advance for your help guys....

SlammedDime

#23
I noticed that you have removed the SMF copyright from your site...

The problem is that you are using free hosting that inserts google adcode into every page of your site, including XML pages used for QuickReply and all AJAX related functions.  I'd suggest finding a new host, and putting that copyright back into your site.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

dbinoj

#24
Please note that i didnt voluntearly remove (or hide) the SMF Copyright.

I was only trying to make the copyright like this:

(c) TeknoGUI | Forum Software

When the user click's" Forum Software", SMF copyright is displayed.

I did this in javascript.
But i ended up in template errors and my site was rendered unreadable.
So i removed the js. So the copyright is hidden.
I'm Working on it sir.
But couldnt find a way. That's why it's getting late. Sorry. I'll surely Put your (c). I didnt mean to remove SMF (c). I respect your hard work. I'll soon find a way out.

PLEASE DONT FEEL THAT I'm A CULPRIT(sob Sob... Snif  :'( ). I'm just finding a way to COSTUMIZE my site. SORRY FOR THE VIOLATION>

And thanks for your help Matt @ ARTcom.

dbinoj


Sarge

#26
I'm starting to think that the problem is caused by ads in your forum pages. The ads are placed there by your host.

Ask your host to try previewing a post with Internet Explorer and see the Javascript error. In Firefox 2, the Error Console from the tools menu shows these errors (repeated a few times):


Error: junk after document element
Source File: http://www.dbinoj.com/index.php?action=post2;board=4;preview;xml
Line: 15, Column: 8
Source Code:
</smf> <center><div id="ads"><script type="text/javascript">
<!---------^

Error: XMLDoc.getElementsByTagName("smf")[0] has no properties
Source File: http://www.dbinoj.com/index.php?action=post;topic=67.0;num_replies=3
Line: 324


Try asking your host to modify the first line of the inserted code (see Page Source from the View menu in Firefox) from this:

<center><div id="ads"><script type="text/javascript"><!--

(note the space at the start)

to this:

<div id="ads"><script type="text/javascript"><!--


At the very least, they could try removing the space and <center> in the first line of the added code:

<center>


or removing the space and closing the <center> tag with </center>.

EDIT: Feel free to point your host to this topic and this reply.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

SlammedDime

Sarge, I don't believe in doing that would work.  Anything after the </smf> tag in the XML will cause the 'junk' error and SMF will not properly parse the XML document received (unless perhaps some code where added to the javascript to remove everything after </smf>.  Because his host (or because he doesn't pay the $2/month to have ads removed) tacks on these ads to the end of all documents produced/executed/parsed, including XML documents that are needed for SMF, nothing they change on the ads will make this work.

Go to this link: http://www.dbinoj.com/index.php?action=stats;expand=200706;xml

Save the source as an xml file.  Edit the XML file as you suggested.  Even remove everything after the </smf> and add <test></test> after it and view it in Firefox, and you'll see what I'm talking about.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Sarge

Hmmm, true.

dbinoj, have you always had this problem with this host, or just recently?

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

dbinoj

#29
Quote from: Sarge on June 03, 2007, 06:49:28 AM
dbinoj, have you always had this problem with this host, or just recently?
Always....
------------------------------------------------------------------------

I asked my host about this.
They are asking
QuoteGive me the exact locations of the files that are causing the problem and I'll give you an ads exception. (eg. /home/yourusername/public_html/yourfile.php)

Can you guys tell the list? Please...

Sarge

That depends on how they insert the ads. Start with:

  • index.php (in the main directory of your forum, where Settings.php and SSI.php are)
  • Themes/default/index.template.php
  • Themes/default/Post.template.php

Prefix the filenames with the real path to your forum.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

dbinoj

ok.. but where are the rss files?

Sarge

#32
Sources/News.php

Actually, everything starts from index.php, which includes the rest. So maybe just [path_to_your_forum]/index.php is enough.

EDIT: ...and probably Themes/default/index.template.php as well.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

dbinoj

#33
Thanks...
I'll try the ad exeption. It's a <?php .....blah.blah... ?> Code.
I should place it on top/bottom of those files...


And It's working!
Thanks guys...
Thanks 4 d gr8 help...

Topic SOLVED

Advertisement: