News:

Version 3.5 has been released. Visit https://custom.simplemachines.org/mods/index.php?mod=255 to get the most up to date version.

Main Menu
Coinbase

Adding Ad Management to smf version 1.1.5

Started by kleddon, June 05, 2008, 04:17:46 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kleddon

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

gri

#1
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 .
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

kleddon

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

gri

#3
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 ?
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

joejoe20

gri:

heres the screen shot that the parsar says to us:

gri

#5
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.
Instruction on getting Help on PAY-ME (AdManagement) mod installing.
Your GRItoadMIXes

joejoe20

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:


gri

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

joejoe20

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

gri

{
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

gri

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