staher Posted August 7, 2010 Share Posted August 7, 2010 This looks very useful mod. Thank you. I am about to start using it, but I have no idea how to do step one in the install instructions: Import the supplied 'database_structure.sql' file to your WHMCS database: mysql -uUSERNAME -pPASSWORD DATABASENAME < tblaffcoupons.sql I do not have shell access to the server, how can I execute this command? Link to comment Share on other sites More sharing options...
EasyWHMCS Posted August 7, 2010 Share Posted August 7, 2010 This looks very useful mod. Thank you.I am about to start using it, but I have no idea how to do step one in the install instructions: Import the supplied 'database_structure.sql' file to your WHMCS database: mysql -uUSERNAME -pPASSWORD DATABASENAME < tblaffcoupons.sql I do not have shell access to the server, how can I execute this command? Login to php my admin and import the sql file also works Link to comment Share on other sites More sharing options...
laszlof Posted August 7, 2010 Author Share Posted August 7, 2010 Login to php my admin and import the sql file also works Yup. You should be able to import it with phpmyadmin. Once I get some time I'm going to build an admin interface and an installer for it. Link to comment Share on other sites More sharing options...
staher Posted August 7, 2010 Share Posted August 7, 2010 Thank you for the response. I am not a programmer, so I want to make sure not to damage anything. I went to phpmyadmin from cPanel, clicked on the WHMCS database, and then on import. At this stage, other than browsing to the sql text file, is there any other settings i need to make? The other defaults on the page are: character set: utf8 partial import is checked format of imported file : sql comparability mode: none Do not use AUTO_INCREMENT for zero values is checked Should I change any of those settings? Link to comment Share on other sites More sharing options...
laszlof Posted August 7, 2010 Author Share Posted August 7, 2010 Nope. The database structure is pretty basic. It adds 2 tables to your whmcs database, and it will not mess with any of the existing tables. So you cant really go wrong. Sorry I didn't have time to make a nice installer for it. It was something our customers absolutely required when we migrated to WHMCS and I needed to slap it together ASAP. Link to comment Share on other sites More sharing options...
staher Posted August 7, 2010 Share Posted August 7, 2010 Ok, I did that and i think it created the database tables. how do i Make sure that display_errors is disabled in configuration.php? I did not see any line to this effect in that file? Link to comment Share on other sites More sharing options...
EasyWHMCS Posted August 7, 2010 Share Posted August 7, 2010 Ok, I did that and i think it created the database tables. how do i Make sure that display_errors is disabled in configuration.php? I did not see any line to this effect in that file? Open configuration.php and see if the display_errors is enabled in there Link to comment Share on other sites More sharing options...
laszlof Posted August 7, 2010 Author Share Posted August 7, 2010 It might not even be there. Its not by default. Link to comment Share on other sites More sharing options...
staher Posted August 7, 2010 Share Posted August 7, 2010 It is not there. do i need to add anything ? Link to comment Share on other sites More sharing options...
EasyWHMCS Posted August 7, 2010 Share Posted August 7, 2010 It is not there. do i need to add anything ? Nope, Your good to go Link to comment Share on other sites More sharing options...
staher Posted August 7, 2010 Share Posted August 7, 2010 Thank you all. I have it working now. Just need to configure the actual coupon actions and their related product Id's. Now, how did you guys get it to look good in the screen shots in this thread? did I miss some code somewhere? Link to comment Share on other sites More sharing options...
EasyWHMCS Posted August 7, 2010 Share Posted August 7, 2010 That is custom template coding, You have not missed any coding, You would have to code this yourself or hire a dev to code it for you Link to comment Share on other sites More sharing options...
staher Posted August 7, 2010 Share Posted August 7, 2010 Thanx gs-liam I guess it is time I get myself a developer . Following some instructions to install a mod is one thing, but messing about with php and CSS is a completely different ball game...that is not my thing for sure. Link to comment Share on other sites More sharing options...
SMSDonkey.com Posted August 8, 2010 Share Posted August 8, 2010 I have attached updated version of this mod. You can ask any kind of question regarding this updated version please post snap shots as well. All installation instructions are same. If you have already installed this mod then just replace the files. I have NOT changed any License info the mod is still owned by it's original programmer. affcoupons_1.1 - Updated by Slum Host.zip Link to comment Share on other sites More sharing options...
b.ahmed Posted August 8, 2010 Share Posted August 8, 2010 Hello Guys Does the updated Mod working fine for everyone ? Link to comment Share on other sites More sharing options...
bullfrog3459 Posted August 8, 2010 Share Posted August 8, 2010 Hello Guys Does the updated Mod working fine for everyone ? Works well so far in the dev environment. I don't know when i plan on implementing this to the live versions of my WHMCS but i should shortly. Thanks Link to comment Share on other sites More sharing options...
b.ahmed Posted August 8, 2010 Share Posted August 8, 2010 Welcome, I'm waiting for the version which can be controlled via WHMCS Admin area. Right now we have to add coupons manually in .php files. Link to comment Share on other sites More sharing options...
laszlof Posted August 8, 2010 Author Share Posted August 8, 2010 Working on another module at the moment. Once I finish with this one, I will come back and release a new version. Link to comment Share on other sites More sharing options...
b.ahmed Posted August 8, 2010 Share Posted August 8, 2010 Great! So that updated version will be FREE ? Link to comment Share on other sites More sharing options...
laszlof Posted August 8, 2010 Author Share Posted August 8, 2010 Yes, I have no plans of charging for this module as it was my first one. Consider it a taste of things to come Link to comment Share on other sites More sharing options...
andy40 Posted August 10, 2010 Share Posted August 10, 2010 will this get added to the new WHMCS update when its comes out ? Link to comment Share on other sites More sharing options...
b.ahmed Posted August 10, 2010 Share Posted August 10, 2010 No, I don't think it's a part of WHMCS 4.3, It's just a addon which you can install after installing WHMCS. Link to comment Share on other sites More sharing options...
andy40 Posted August 10, 2010 Share Posted August 10, 2010 oh ok just that i am not the best at doing things like this Link to comment Share on other sites More sharing options...
ninak Posted August 12, 2010 Share Posted August 12, 2010 oh ok just that i am not the best at doing things like this Me neither, and it seems that just when I think I got it right, a newer version comes along and have to start all over again. Oh well, if life didn't have these little challenges it would somehow be very boring. Link to comment Share on other sites More sharing options...
laszlof Posted August 12, 2010 Author Share Posted August 12, 2010 I plan on making the upgrade for this addon seamless to the new version. Link to comment Share on other sites More sharing options...
Recommended Posts