News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Ad Management mod

Started by SMFHacks.com Team, January 30, 2006, 08:41:19 PM

Previous topic - Next topic

GreySkull-1

Quote from: plusev on September 21, 2009, 12:21:40 PM
Is this mod still supported and will it be for 2 rc1.2? I'vegot it installed but getting hunderds of errors.

Thx

Haven't installed it yet but I appreciate you letting us know their are problems for 2.0 RC1.2

jerm, any idea when you will have another update?

Thanks!!

TheListener

Quote from: plusev on September 21, 2009, 12:21:40 PM
Is this mod still supported and will it be for 2 rc1.2? I'vegot it installed but getting hunderds of errors.

Thx

Was it a clean install ie no errors?


lindseylakeshore

I have the ad mod in place and ads are running I have one at the top of the page and want to place more at the top of the page but they place in the same spot I want to run 4 ads across the top of the page next to eachother. how can i do this? thanks!

TNoob

Can someone help me?

The ads won't display on my board index...

My site URL: http://www.gamedusk.com

As you can see, I am using a custom theme.


Bigguy

Then edits are required to the custom template files. Do the ads show on the default theme. ???

Maxtor

1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Themes/default/index.template.php Test successful
5. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test failed
7. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
8. Execute Modification ./Sources/ManagePermissions.php Test failed
9. Extract File ./Sources/Ads.php 
10. Extract File ./Sources/LoadAds.php 
11. Extract File ./Themes/default/Ads.template.php 
12. Extract File ./Themes/default/languages/Ads.english.php


what is wrong here? im using SMF 1.1.10

TheListener

Quote from: maxtor on September 25, 2009, 08:41:07 PM
1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Themes/default/index.template.php Test successful
5. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test failed
7. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
8. Execute Modification ./Sources/ManagePermissions.php Test failed
9. Extract File ./Sources/Ads.php 
10. Extract File ./Sources/LoadAds.php 
11. Extract File ./Themes/default/Ads.template.php 
12. Extract File ./Themes/default/languages/Ads.english.php


what is wrong here? im using SMF 1.1.10

The two files which have test failed next to them will require a manul edit.

Maxtor

#4188
Quote from: TheListener on September 25, 2009, 08:45:11 PM
Quote from: maxtor on September 25, 2009, 08:41:07 PM
1. Execute Code install.php 
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Execute Modification ./Themes/default/index.template.php Test successful
5. Execute Modification ./Themes/default/BoardIndex.template.php Test successful
6. Execute Modification ./Themes/default/Display.template.php Test failed
7. Execute Modification ./Themes/default/MessageIndex.template.php Test successful
8. Execute Modification ./Sources/ManagePermissions.php Test failed
9. Extract File ./Sources/Ads.php 
10. Extract File ./Sources/LoadAds.php 
11. Extract File ./Themes/default/Ads.template.php 
12. Extract File ./Themes/default/languages/Ads.english.php


what is wrong here? im using SMF 1.1.10

The two files which have test failed next to them will require a manul edit.

what edit ? can you help me?

TheListener

Looking at the Parse instructions you get:

./Sources/ManagePermissions.php

Find:

       'pm' => array(

Replace With:

'ad_manage' => array(
'ad_manageperm' => false,
),
'pm' => array(


Make sure you backup first.

Maxtor

a general question : if i install it with these 2 "test failed", the Execute Modification of these 2 files will be done? or not?

TheListener

You can still install the mod BUT it won't work as it should.

Maxtor

Quote from: TheListener on September 25, 2009, 09:44:49 PM
You can still install the mod BUT it won't work as it should.
yes but my question is it will modify the 2 files with that way? or the only thing after i install is to edit these 2 files?

TheListener

The only thing you can do is edit the files otherwise your error log will never be empty.

Maxtor

i have edited my install.xml and everything is ok now!

Maxtor

and this code:
- <file name="$sourcedir/ManagePermissions.php">
- <operation>
- <search position="replace">
- <![CDATA[ 'pm' => array(
  ]]>
  </search>
- <add>
- <![CDATA[ 'ad_manage' => array(
'ad_manageperm' => false,
),
'pm' => array(
  ]]>
  </add>
  </operation>

should be:
- <file name="$sourcedir/ManagePermissions.php">
- <operation>
- <search position="replace">
- <![CDATA['pm' => array(]]>
  </search>
- <add>
- <![CDATA[ 'ad_manage' => array(
'ad_manageperm' => false,
),
'pm' => array(
  ]]>
  </add>
  </operation>

abidejaz4u

ya its done but its showing ads only in admin user not other ?? now what can i do

TheListener

Have you checked the permissions?

abidejaz4u

From where i can check it???

TheListener

Go to your permissions via the admin

Advertisement: