News:

Welcome to SMF Ads Support Forum

Main Menu
Coinbase

No starting post after ad mod

Started by Swoah, December 10, 2006, 01:38:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Swoah

Hi,

I've modified the SAF Green theme for the Ad Management v2 mod. I'm using SMF version 1.1 RC2.
Included are the theme files.

1.
Now there's a problem. When somebody starts a new topic, the topic is generated, but the start post doesn't show. It seems like there is no post what so ever.
If you reply the second post is shown. Does somebody know what went wrong?
It has something to do with the modifications I've made, because it was working fine before.

2.
Furthermore, when I turn on the ads after first post, the ad management Mod generates a blank post at the end of a topic. If you reply to that it generates another one.

What's the problem?

nb. Its the only modification I've made to this theme files.

Swoah

I found out that the first doesn't show up in any topic. So every first post has disappeared.

Swoah

It goes wrong after this modification:
QuoteIn the same file FIND:

Code:

   // Get all the messages...


And REPLACE with:

Code:

   //Ad Counter
   $adcounter =0;
   // Get all the messages...
   while ($message = $context['get_message']())
   {
      $adcounter++;

bigguy

Have you tried re-installing the mod. ??? I have ran into this problem to before and I can't remember what I did to fix it now.

sntjohnny

#4
I have exactly the same problem.  In fact, I freaked out, because I thought I somehow lost the posts altogether.  When I reverted back to the original files, though, the first posts were displayed.

I'll check back to see if anything was resolved.

And yea, I did reinstall the mod.