Coinbase

Author Topic: Ad Mod on AnyWhere Theme  (Read 7068 times)

0 Members and 1 Guest are viewing this topic.

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Ad Mod on AnyWhere Theme
« on: April 20, 2009, 10:06:11 am »
Hi,

After an unsuccessful attempt with this mod on DreamLike theme, I attempted to try another theme "AnyWhere".  Still cannot get this thing to load a template after the modification to code.  I don't understand why the forum cannot update themes only the default.  Is it that difficult to do?  Anyway I posted earlier about the dreamlike them and no response. I am hoping someone could help get this to work.  My last attempt here.

Thanks,

Gibs

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #1 on: April 20, 2009, 07:18:35 pm »
Don't see any themes named "AnyWhere". Is this the one anyWhere but Home ?

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #2 on: April 20, 2009, 07:54:49 pm »
Hi,
Yes that is the one.


Thanks,

Gibs
« Last Edit: April 20, 2009, 09:36:57 pm by gibsongk55 »

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #3 on: April 21, 2009, 04:02:04 pm »
You won't have full ad functionality placement, but try these (make sure You backup the originals)...

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #4 on: April 23, 2009, 03:08:49 am »
Hey,

Thanks that worked great.  I tried to follow what you did for the dreamlike theme twice and still that won't work.  Dreamlike theme code is similar to the anywhere theme code.  I cannot understand why it won't work when i add the code in as you have.  If you wouldn't mind one more time for the dreamlike code.  I greatly appreciate it.

The dreamlike theme is here:  http://custom.simplemachines.org/themes/index.php?lemma=599

Thanks again,

Gibs

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #5 on: April 23, 2009, 09:04:00 pm »
I'll have a look at it tomorrow night (Fri.)  ;)

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #6 on: April 25, 2009, 04:25:24 am »
Great!! Thanks so much for your help and expertise!

Gibs

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #7 on: April 25, 2009, 04:54:35 pm »
Here You go...

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #8 on: April 25, 2009, 06:59:59 pm »
Hey Frag,

I uploaded the files but i get this:



An Error Has Occurred!
Unable to load the 'main' template.


Gibs

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #9 on: April 25, 2009, 08:18:44 pm »
Try this one...

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #10 on: April 25, 2009, 09:10:35 pm »
Hi,

Thanks, but that didn't work either.  Same error message.

Gibs

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #11 on: April 25, 2009, 09:30:41 pm »
Sorry but I can't find the problem. I checked both files with php syntax check and they were OK.

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #12 on: April 25, 2009, 09:41:33 pm »
the problem is in the boardindex.template file.  The index.template file alone works no problem.

Thanks,

Gibs

Offline gibsongk55

  • Jr. Member
  • **
  • Posts: 16
    • Email
Re: Ad Mod on AnyWhere Theme
« Reply #13 on: April 25, 2009, 09:56:46 pm »
Hey Frag,

I got it to work.  I compared the boardindex.template with the one you did for anywhere theme.  Only difference in the smfad code was that two of these '{'  where a little off in place or on the line above.  I changed it to be identical and it works.  Doesn't change anything the way the code should work like you said.  Geez smf sure is picky and touchy.  Crazy no wonder i had so much trouble.  Thanks again for all your help.  I really appreciate it.

Gibs

Offline Fragenstein

  • Jr. Member
  • **
  • Posts: 54
    • House of Fragenstein
Re: Ad Mod on AnyWhere Theme
« Reply #14 on: April 26, 2009, 11:07:03 am »
Good job! Most times You just have to play around with it a little bit. I'm surprised the syntax checker didn't find the discrepancy...

SMF Ads Support Forum

Re: Ad Mod on AnyWhere Theme
« Reply #14 on: April 26, 2009, 11:07:03 am »
.

 

.