Coinbase

Author Topic: Adding Ad Management to smf version 1.1.5  (Read 5891 times)

0 Members and 1 Guest are viewing this topic.

Offline kleddon

  • Newbie
  • *
  • Posts: 2
    • Email
Adding Ad Management to smf version 1.1.5
« on: June 05, 2008, 03:17:46 pm »
I am following the instructions to install ad management package, ad_mod_1-1-x_v2-3.zip according to the instructions
at: http://custom.simplemachines.org/mods/index.php?action=parse


I am editing the file:
./Themes/default/index.template.php

Instructions say:

find:

 </td>

add after:

'; //Welcome Ads if (function_exists("show_welcomeAds")) { $ads = show_welcomeAds(); if(!empty($ads)) { echo '<td class="windowbg2">'; if($ads['type']==0) echo $ads['content']; else eval($ads['content']); echo '</td>'; } unset($ads); } echo '

There are several instances that have the code: </td>

Does that mean that I add the above script after every instance of; </td>  ?

Any help would be greatly appreciated

Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Re: Adding Ad Management to smf version 1.1.5
« Reply #1 on: June 06, 2008, 01:29:54 am »
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1657.msg6672#msg6672]kleddon in ~Adding Ad Management to smf version 1.1.5~[/url]
Instructions say:

find:

 </td>

Instruction does not say to find </td> .

Instruction says to find </td> with seven leading tabs

which combination is unique in original index.template.php file .
« Last Edit: June 07, 2008, 02:31:14 am by gri »
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

Offline kleddon

  • Newbie
  • *
  • Posts: 2
    • Email
Re: Adding Ad Management to smf version 1.1.5
« Reply #2 on: June 06, 2008, 02:28:49 pm »
At http://www.simplemachines.org

For this module: ad_mod_1-1-x_v2-3.zip

to use with smf 1.1.5

at this page
http://custom.simplemachines.org/mods/index.php?action=parse

all it said was this:

Find: [Select]
</td>

Add After: [Select]
'; //Welcome Ads if (function_exists("show_welcomeAds")) { $ads = show_welcomeAds(); if(!empty($ads)) { echo '<td class="windowbg2">'; if($ads['type']==0) echo $ads['content']; else eval($ads['content']); echo '</td>'; } unset($ads); } echo '

but, thanks anyway

Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Re: Adding Ad Management to smf version 1.1.5
« Reply #3 on: June 06, 2008, 09:32:50 pm »
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1657.msg6679#msg6679]kleddon in ~Adding Ad Management to smf version 1.1.5~[/url]
at this page

The first source of true search strings is
install.xml file inside the mod packet.
Check it.

Concerning your page link with ~?action=parser~ -
I am getting the error:
~Sorry, but the modification could not be parsed.~


My path to a parser is:

Customize SMF
http://custom.simplemachines.org/mods/
( or http://custom.simplemachines.org/mods/index.php )

Installing mods
http://docs.simplemachines.org/index.php?board=49.0;sort=subject

Manual Installation of Mods
http://docs.simplemachines.org/index.php?topic=402

Comments:
Don't forget Daniel15's Mod Parser.
http://modparser.dev.dansoftaustralia.net/

That Parser definitely shows the ~</td>~ string
in the middle of the screen line.


And which parser and how exactly
you are browsing ?

ps.
Your forum link ?
« Last Edit: June 07, 2008, 02:21:57 am by gri »
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

Offline joejoe20

  • Newbie
  • *
  • Posts: 3
    • Email
Re: Adding Ad Management to smf version 1.1.5
« Reply #4 on: June 07, 2008, 01:06:31 am »
gri:

heres the screen shot that the parsar says to us:

Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Re: Adding Ad Management to smf version 1.1.5
« Reply #5 on: June 07, 2008, 02:11:42 am »
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1657.msg6681#msg6681]joejoe20 in ~Adding Ad Management to smf version 1.1.5~[/url]
heres the screen shot that the parser says to us:

Exactly.

Does each of you all.. agree that there are seven symbols of tabulation (09 Hex)
                     before the </td> symbols

all of which - it is necessary to seach for
               together with the consequent symbols "<", "/", "t", "d", ">"
?

ps.
joejoe20, thank you for showing of my mistype to me.
Seems i have fixed it.
« Last Edit: June 07, 2008, 02:34:00 am by gri »
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

Offline joejoe20

  • Newbie
  • *
  • Posts: 3
    • Email
Re: Adding Ad Management to smf version 1.1.5
« Reply #6 on: June 07, 2008, 07:28:23 am »
Ok so i highlighted evertyhing and all i see is just spaces before the find code. I did search for it thinking it was a certain amount of spaces but still couldnt find anything.

I also tried 2 different web browsers (hopin the problem would be that, still the same outcome)

heres a screen shot of the "find code" highlights before and after it:


Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Re: Adding Ad Management to smf version 1.1.5
« Reply #7 on: June 07, 2008, 09:42:32 am »
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1657.msg6683#msg6683]joejoe20 in ~Adding Ad Management to smf version 1.1.5~[/url]
I did search for it thinking it was a certain amount of spaces
but still couldnt find anything.

The symbol of tabulation is invisible -
it only creates an effect of several spaces.
But these symbols are significant in searching.

Go to original install.xml file
and try to move a cursor by an arrow along the line with tabs.
You will discover the cursor jumps on several spaces intervals.
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

Offline joejoe20

  • Newbie
  • *
  • Posts: 3
    • Email
Re: Adding Ad Management to smf version 1.1.5
« Reply #8 on: June 07, 2008, 01:46:34 pm »
I do understand now, 7 tabs then "<" "/" "t" "d" ">"

I tried notepad, dreamweaver, and also the text editor built into my ftp client still cant find it.. I guess you cant use this script on the CorpIt Theme..

Thanks For Your Help

Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Gri to Joejoe20
« Reply #9 on: June 07, 2008, 09:38:40 pm »
{
Quote from: [url=http://www.smfads.com/forums/index.php?topic=1657.msg6686#msg6686]joejoe20 in ~Adding Ad Management to smf version 1.1.5~[/url]
I guess you cant use this script on the CorpIt Theme..

Quote from: [url=http://www.smfads.com/forums/index.php?topic=1657.msg6672#msg6672]kleddon in ~Adding Ad Management to smf version 1.1.5~[/url]
I am editing the file:
./Themes/default/index.template.php

Seems the Author of the topic has no intentions
to discuss other themes modifications except the default one
in this his topic.
And this forum does not allow a topic author
to defend his topic from undesirable offtopic posts
(unlike gritoadmixes and antchugoviks types of topics).

Therefore,
would you like to branch the local dialogue
to a remote digrigible ?
For this purpose do begin with creating of your gritoadmix
and add the link to your forum
please.

joejoe20, Thank you.

ps.
To all:
Sorry for extra notification with no post text included.
I would allow to include.. if i was an administrator.
}
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

Offline gri

  • Full Member
  • ***
  • Posts: 111
  • Space Human
Gri to Joejoe20
« Reply #10 on: June 09, 2008, 10:10:08 pm »
Quote from: joejoe20 in ~Private Mail~
I didnt quite understand what you said here:

joejoe20,
You replied me in Private Mail.
It is a key to understanding.

Try to explain to yourself -
why have you replied to Private Mail.

And I will explain to you too.
I suppose that you replied to Private Mail
because there were no a Public Personal Mailing tool.

There _were_ no.. unless i have declared the technology
of defended dialogues in gritoadmixes and digrigibles.

To return a dialogue back to public zone
which would be natural for a Human Being -

just define your nickname for grivitational forum
and you may register on my forum with it..
or _I_ can register you on my forum with your nickname
    if you like.

Then create a first topic on my forum.
Otherwise there are no other place on the planet
where we two could speak publicly.

Grivitate to additional explanations - through my signature links.
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

SMF Ads Support Forum

Gri to Joejoe20
« Reply #10 on: June 09, 2008, 10:10:08 pm »
.

 

.