![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.1 Modifications Questions on modifying 68 Classifieds. Please note these are not supported by 68 Classifieds, and may make future updates more difficult. |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Not sure if this is possible, but will whizz it past you php experts!!
When a member purchases a membership, and goes to place an ad, they have the choice of using the membership OR the listing package that relates to the membership. Is it possible for the listing package not to show, so that there is only a membership option? Knowing me its a major recode!!
__________________
Wiki for horses v.4. In progress!! Stable Ads v.3.0.14 Everything for Jobs v.3.1.4 |
|
#2
|
||||
|
||||
|
|
|
#3
|
||||
|
||||
|
Thanks,
That thread (if I read it correctly) takes the option to place an ad without a membership away. I need to show the listing package if someone does not have a membership, but not show it if they do - if that makes sense
__________________
Wiki for horses v.4. In progress!! Stable Ads v.3.0.14 Everything for Jobs v.3.1.4 |
|
#4
|
||||
|
||||
|
If they have a membership they can place membership adds through the membercheckout process. If you want to only allow membership ads to be placed (which will show the packages availible once you are into the membercheckout) then you can edit the template as suggested in that thread or remove the links to usercheckout.php.
Or, are you making them buy a membership to place ads? I think within the membercheckout.php they can still jump to usercheckout.php and place regular ads. If this is the case just remove the links to usercheckout.php. If you have people guessing the link we could place a check in usercheckout.php which gives them the boot if they don't have a membership.
__________________
Regards, John mods.auscity.com �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#5
|
||||
|
||||
|
Quote:
At approx line 46 you should have a smarty if closing tag ie...{/if} change that to an {else} then simply goto the very bottom of the file and ad an if closing tag ...ie {/if} What this will do is if there is a membership it will display it but NOT the normal ad packages. if there is no membership it will display just the normal ad packages.
__________________
Larry. (Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free) 68 Classifieds Important Links Customer Area | Issue Tracker | Knowledge Base | User Manuals |
|
#6
|
||||
|
||||
|
Quote:
I did try that last night, and somehow managed to get the listing to show but not the membership Will try again tonight I must have done something daft or put the last {/if} in the wrong place ![]()
__________________
Wiki for horses v.4. In progress!! Stable Ads v.3.0.14 Everything for Jobs v.3.1.4 |
|
#7
|
|||
|
|||
|
Quote:
i have {/if} at line 41 and 51 which one do i change to {else}? also where exactly do i put the {/if} at the end of file? iv tried exactly as described with both {/if} on line 41 and 51 and get errors. thanks so much |
|
#8
|
||||
|
||||
|
This is my templates/default/checkout/step2.tpl.php file if it helps, you should be able to copy and paste it straight in (I think)
PHP Code:
__________________
Wiki for horses v.4. In progress!! Stable Ads v.3.0.14 Everything for Jobs v.3.1.4 |
|
#9
|
|||
|
|||
|
Thanks Calaf6,
that code appears to have done exactly what i was trying to do. i havnt done full testing as yet but i believe that file only affects that page so it should be ok. i very much apreciate your time with this so again, THANKS |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Groups - Memberships | dawyatt | v3.1 Questions & Support | 0 | 05-22-2006 10:44 PM |
| Disable Memberships? | zman78 | v3.1 Questions & Support | 3 | 05-09-2006 02:20 PM |
| Memberships - not active | Chaslie | v3.1 Questions & Support | 4 | 04-11-2006 09:57 PM |
| multiple memberships | juven14 | v3.1 Questions & Support | 1 | 04-07-2006 11:43 AM |