Remortgages - Credit Counseling - Debt Consolidation - Personal Loans - Loans

PDA

View Full Version : phpld additional payment plans


mhamdi
Jul 4th 2007, 12:32 am
As requested by many, here is the mod to add additional payment plans. It can be used to add any number of plans. In this case, two plans were added, 1 featured called Featured+ and 1 regular called Regular+,

Tutorial: phpld additional payment plans (http://blog.rakcha.com/2007/07/04/phpld-additional-payment-plans/)

demo (http://rakcha.com/phpld/submit.php)

smub
Jul 4th 2007, 12:34 am
lol this is something good mhamdi ... i am sure many will love it ..

good job ...

sending green your way

paidhosting
Jul 4th 2007, 12:39 am
Omg dude ur like a modding machine , like those fucking-machines.com lol. You just keep bringing good stuff out for directories using phpld all the time. Where u get all the juice from :) Good work.

mhamdi
Jul 4th 2007, 12:41 am
Thanks guys,
the good news is, they don't take too much time to write.

paidhosting
Jul 4th 2007, 12:42 am
Thanks guys,
the good news is, they don't take too much time to write.

Lol it must be the montreal magic, i just love that city, spent 2 years of my life there and i havent forget even a single day of my life there. :D

mhamdi
Jul 4th 2007, 12:46 am
we have the jazz festival now, you should come visit :)

kiviniar
Jul 4th 2007, 12:51 am
I am speechless, awesome stuff mhamdi :D

This is u >> :cool:

williamjack
Jul 4th 2007, 12:52 am
good job mhamdi

Contextual Deep Links at http://blog.rakcha.com/category/contextual-deep-links/ is this suitable for 3.1.0?

mhamdi
Jul 4th 2007, 12:54 am
Thanks Kiviniar and William,
Yes, it should work fine with 3.1, I did not test it though.

microbrain
Jul 4th 2007, 12:59 am
Great Work buddy I'll use this MOD in my next upcomming directory!!

kiviniar
Jul 4th 2007, 1:01 am
Hey mhamdi, u free tomorrow ?

I could do a quick short interview with you

Would like to do a consolidated post for all your mods

mikey1090
Jul 4th 2007, 1:01 am
great mod. rep added

mhamdi
Jul 4th 2007, 1:03 am
I'll pm you kiviniar.

SilkySmooth
Jul 4th 2007, 1:05 am
Another great mod mhamdi, well done.

williamjack
Jul 4th 2007, 2:59 am
mhamdi, i intstalled it on http://www.linksinventory.com/submit.php. When i update the prices through admin the price does not update in regular+ and featured+ fields.

Is there some thing i did wrong?

Richie_Ni
Jul 4th 2007, 4:10 am
Great mod,thanks mhamdi!

pipes
Jul 4th 2007, 4:25 am
As Borat would say "wow wa wee wahr" this is so good mhamdi, as you say, a fair few people had requested this.

Thank you so much, really appreciate your time creating these mods. :)

jg123
Jul 4th 2007, 4:38 am
Would it be possible to make a version that you could change the prices in admin panel?

dhruv37
Jul 4th 2007, 5:05 am
Thats really a gr8 mod, It will help a lot to directory owners.

Agent47
Jul 4th 2007, 5:31 am
excellent mod.. thanks for offering it free :)

mhamdi
Jul 4th 2007, 7:31 am
Thanks all,
@William, This happens when the fields are not created in the table during the first step. try to update tables.php accordingly and rerun the installer. You can also check in the table if the fields were added.



mhamdi, i intstalled it on http://www.linksinventory.com/submit.php. When i update the prices through admin the price does not update in regular+ and featured+ fields.

Is there some thing i did wrong?

FOX LORE
Jul 4th 2007, 7:42 am
Great Mod and keep them coming...

bracnet
Jul 4th 2007, 7:42 am
Dear,
another great mod. Best of luck mhamdi. :)

williamjack
Jul 4th 2007, 9:22 am
feilds are showing in admin juts that when i enter the amount and i click save then settings updated but the amount remain still empty.

PLease guide me

Thanks
Thanks all,
@William, This happens when the fields are not created in the table during the first step. try to update tables.php accordingly and rerun the installer. You can also check in the table if the fields were added.

mhamdi
Jul 4th 2007, 9:25 am
could you check in phpmyadmin, in the PLD_CONFIG table that the new fields were added? that's what I meant. I will be away for a while and in case you couldn't solve I'll pm you.

MeetHere
Jul 4th 2007, 2:31 pm
Thats an another great mod..

will try it..

williamjack
Jul 4th 2007, 11:34 pm
Thanks for the help it is working fine now. :D

Just curious to now how can i link it with Deep link mod.

I have not yet installed deep link so should i first get that?

and u mentioned some java script below http://blog.rakcha.com/2007/07/04/phpld-additional-payment-plans


could you check in phpmyadmin, in the PLD_CONFIG table that the new fields were added? that's what I meant. I will be away for a while and in case you couldn't solve I'll pm you.

mhamdi
Jul 5th 2007, 8:26 am
Thanks for the help it is working fine now. :D

Just curious to now how can i link it with Deep link mod.

I have not yet installed deep link so should i first get that?

and u mentioned some java script below http://blog.rakcha.com/2007/07/04/phpld-additional-payment-plans

I pmed you the code you should place. Glad to see you almost did it.

dsakella
Jul 5th 2007, 9:40 am
Really great job. I have only one question.
Deep links are being submitted as regular links, or as additional links on the details page?
Thanks a lot.

kojakfilth
Jul 5th 2007, 9:48 am
thanks mhamdi for always providing free mods for us phpld owners.. :)

Kojak

mhamdi
Jul 5th 2007, 12:18 pm
dsakella, could you pm me as I don't think I understand your question.
You're welcome Kojak!

dsakella
Jul 5th 2007, 12:26 pm
PM sent. Thank a lot.

popotalk
Jul 6th 2007, 2:33 am
I have never Thanked You by the way for your MOD contributions. So let me say Thanks for your MODS and most people from where I came from really are benefitting from your works. Not all can afford and that i understand now so Thanks dude. :)

williamjack
Jul 6th 2007, 3:15 am
ok finally i intalled it on http://www.linksinventory.com/submit.php

Thanks dude for help in adjusting some fields.

pipes
Jul 6th 2007, 3:39 am
williamjack, im happy to see that you have it setup the way im intending to aswell, im guessing that it makes sense to install the additional payments plan mod first and then deeplinks mod after?

kiviniar
Jul 6th 2007, 5:31 am
ok finally i intalled it on http://www.linksinventory.com/submit.php

Thanks dude for help in adjusting some fields.


Trust me, mhamdi is a great guy

He has personally checked a lot of my codes once i started using phpld. :)

Thats for the mods Mhamdi, will try this once later and well will bug you if i am not able to install this one :p

SEOdir.net
Jul 6th 2007, 6:58 am
Hmmm demo isnt working, I do not see any other options that paypal after clicking on submit. Can you check it, or maybe someone else has a demo of it ?
Thx.

mhamdi
Jul 6th 2007, 8:54 am
SEOdir, you see the options in the submit page not in paypal. the demo is working fine.
any time kiviniar :)

williamjack
Jul 6th 2007, 9:03 am
Totally agreed with you.

I really appriciate the help and support mhamdi provided me in installing the mod. I know he has done a very good job in making the most costly mod available free:D. But the best thing is that he is always there to provide any support in case you have some problem in intalling.

Now i am fan of this guy......;)

mhamdi i think you should also update the java code on you blog with same you sent me.

cheers


Trust me, mhamdi is a great guy

He has personally checked a lot of my codes once i started using phpld. :)

Thats for the mods Mhamdi, will try this once later and well will bug you if i am not able to install this one :p

mhamdi
Jul 6th 2007, 9:23 am
I just did that, I guess it is easier this way for everybody.

SEOdir.net
Jul 6th 2007, 9:42 am
Guys I think that I am blind...

http://img27.picoodle.com/img/img27/8/7/6/f_blindm_c58f1b0.jpg

Where is that option ? :confused:

mhamdi
Jul 6th 2007, 9:47 am
this mod adds two additional payment options in the submit form
http://rakcha.com/phpld/submit.php
Featured links + $16500
Featured links $900
Regular links + $350
Regular links $200

they 2 new are Featured links+ and Regular links+

SEOdir.net
Jul 6th 2007, 9:54 am
Oh lo, yes sorry I tought that this is a mod for new payments methods in directory... my mistake.

So that mod allow to add new prices, but what are the features , can I for example add featured link $25 / year and featured link $50 / lifetime ? :)

mhamdi
Jul 6th 2007, 9:59 am
Oh lo, yes sorry I tought that this is a mod for new payments methods in directory... my mistake.

So that mod allow to add new prices, but what are the features , can I for example add featured link $25 / year and featured link $50 / lifetime ? :)

you can offer different options for different payment plans: deep links, contextual deep links, listing position, thumbnails in category page, colors, ...

SEOdir.net
Jul 6th 2007, 4:05 pm
Oh its very cool, I will sure install this mod in my dir when I am done with template :)

Muneeb2Good
Jul 8th 2007, 5:20 am
Can someone explain to me how this mod is different from Paid version?? ... Is that just support & installation difference or there is some difference in functionality ?

xc06
Jul 8th 2007, 5:38 am
thanks for great mod again! Hope I can implement it correctly ;)

SEOdir.net
Jul 8th 2007, 6:59 am
Muneeb2Good, after installing this mod you can add other links option for example Regular Link yearly and Regular Link monthly.

pipes
Jul 8th 2007, 8:13 am
Regarding the first part of the installation, adding the code into include/tables.php, can anyone advise the code that i can copy and paste into SQL of phpmyadmin instead?

I have rerun the install file but that doesn't seem to do anything, i had a similar problem when installing the deeplinks mod in the past on a different directory, it was sorted when i used phpmyadmin to add the tables.

williamjack
Jul 8th 2007, 8:22 am
Yes exactly i also face this the SQL does not update when install is loaded. So you can mannualy add the field in DB

Thanks
Regarding the first part of the installation, adding the code into include/tables.php, can anyone advise the code that i can copy and paste into SQL of phpmyadmin instead?

I have rerun the install file but that doesn't seem to do anything, i had a similar problem when installing the deeplinks mod in the past on a different directory, it was sorted when i used phpmyadmin to add the tables.

pipes
Jul 8th 2007, 8:27 am
Yes exactly i also face this the SQL does not update when install is loaded. So you can mannualy add the field in DB

Thanks

williamjack, would you happen to know what the actual few lines of code are to add into SQL please?

williamjack
Jul 8th 2007, 8:51 am
In Dumping data for table `PLD_CONFIG`

line

INSERT INTO `PLD_CONFIG you can find

('PAY_NORMAL','12.5'),('PAY_FEATURED','25'),('PAY_RECPR','10'),

and update with

('PAY_NORMAL','12.5'),('PAY_FEATURED','25'),('PAY_NORMAL_ADV','20'),('PAY_FEATURED_ADV','35'),('PAY_RECPR','10'),

the terms 12.5, 25 is the price you have which you can change from admin

I hope it will help

Sanjay



williamjack, would you happen to know what the actual few lines of code are to add into SQL please?

Muneeb2Good
Jul 8th 2007, 8:59 am
Muneeb2Good, after installing this mod you can add other links option for example Regular Link yearly and Regular Link monthly.

I know what this mod does. Take ur spamy post else where ........

I just want to know what is the difference between this free mod and the paid mode for same feature. is there any extra functionality in paid mod ?

pipes
Jul 8th 2007, 9:09 am
In Dumping data for table `PLD_CONFIG`

line

INSERT INTO `PLD_CONFIG you can find

('PAY_NORMAL','12.5'),('PAY_FEATURED','25'),('PAY_RECPR','10'),

and update with

('PAY_NORMAL','12.5'),('PAY_FEATURED','25'),('PAY_NORMAL_ADV','20'),('PAY_FEATURED_ADV','35'),('PAY_RECPR','10'),

the terms 12.5, 25 is the price you have which you can change from admin

I hope it will help

Sanjay

Sanjay, to be honest im still unsure of how i would insert that.

saadahmed007
Jul 8th 2007, 9:16 am
Just insert is into your mysql db which you're using with db via tools like phpmysql.
Saad

xc06
Jul 8th 2007, 9:20 am
I just implemented this mod successfully to my directory even combining with my existing deep link mod. thanks a lot!



To mhamdi:
pls guide us how to set the two extra payment option as yearly based.


I hope to give your more rep.;)

mhamdi
Jul 8th 2007, 9:24 am
Here is the querty you should input in phpMyadmin

INSERT INTO `PLD_CONFIG` (`ID`, `VALUE`) VALUES ('PAY_NORMAL_ADV', '350'), ('PAY_FEATURED_ADV', '16500');



change the number 350 and 16500 to the actual prices.

pipes
Jul 8th 2007, 11:09 am
Here is the querty you should input in phpMyadmin



change the number 350 and 16500 to the actual prices.

Excellent, mhamdi that has sorted it, thanks to you too Sanjay and Saad.

Im not sure why rerunning the install never works for me but inserting the code in phpmyadmin sorts it.

Thanks for providing that for doing it directly.

mhamdi
Jul 8th 2007, 11:31 am
I updated the instructions in the blog to add this query.
Thanks.