|
|
#1 |
|
Guest
Posts: n/a
|
I am looking for the following solution.
My ads arrive through an SMS portal. This ad needs to be automatically added to the classified website, without human interference. What will happen is the following. As soon as an SMS arrives, a php script is initiated on my host. This php script will open a 'link' to the server, and this 'link' has all the ad info in it. So something like: http://somesite/add_ad.php?category=...=I+sell+my+car This add_ad.php script must then create the ad in 68 classified, including some initial info like password, and ad expiry date etc. Can I configure 68 Classified in such a way that what I need is possible ? The thing is I can develop a whole classified webscript from scratch, but better use one available and shape it to my needs. Does 68 Classified offer this. Oh, and other thing, the site is going to be in Spanish, so I need to translate all text to Spanish. That is possible no ? Greetings from Lima |
|
|
#2 |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 667
Rep Power: 26 ![]() |
Just write yourself a simple script to take the SMS messages and inject the pertinent info directly into the 68C database, bypassing the 68C script itself. Just let 68C handle the display of the already-posted ads.
__________________
Civ's Modules (____NOW v4 COMPATIBLE____): � Stop Incomplete Listings! (proven revenue booster!) � Scam Filter (Just say no to Nigerians!) updated � Similar Listings (keep visitors longer) � Feedback Mod (testimonial builder) � Listing Status Reminder free! |
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Sure, that is exactly what I need. But is this feasible ? As I do not have bought the programm yet, I do not know how accessible all things are. Is an ad in the database nothing more than a row in a database with some fields. And is a user also nothing more than a field in another table ? In that case it could be feasible. If passwords are for example encrypted in a way that without having access to an encrypted 68 classified core, it is impossible to encrypt, then I could not simply inject it in the database.
Thanks for your reply. Greetings ESVE |
|
|
#4 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,749
Rep Power: 109 ![]() |
Users are all stored in a one table where as listings are stored in one main table with seperate tables for the extra fields.
The user's password is encrypted with one-way encryption so you can not get this information from the database. But you can compare it.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2008
Posts: 12
Rep Power: 5 ![]() |
I have a script that tries to take newly registered user's details from a phpBB3.0.2 user table and create a new account with it on my 68c installation (using 4.0.9). I described my situation back at phpBB.com (over here: phpBB • View topic - Almost got semi-manual integration of phpBB3 & 68classifieds) and confirmed:
As my script activates all the phpBB users I've chosen, it loads an array of users to be inserted later into 68c. My unencrypted password field in phpbb_users will be in the 71st position, so I plan to use this to load the password array: Code:
$c_password[$i] = $row[70]; Do you have any other suggestions? Or words of caution? |
|
|
|
|
#6 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,749
Rep Power: 109 ![]() |
I am not exactly sure how phpbb works now. But couldn't you just change our script to use their same hashing model. Then you wouldn't have to store the password and it would remain the same?
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
|
|
#7 |
|
Junior Member
Join Date: Mar 2008
Posts: 12
Rep Power: 5 ![]() |
You mean replace the md5() being used in 68c for the phhbb_hash() and phpbb_check_hash()? That does make sense, but it also seems more complicated
Are there many files that I would have to change to replace, especially to check with entered passwords are true (which would use phpbb_check_hash)? |
|
|
|
|
#8 | |
|
Junior Member
Join Date: Mar 2008
Posts: 12
Rep Power: 5 ![]() |
I got my answer back at the phpBB forum - although 'tech support' over there tends to get cranky (I shouldn't complain - after all, it's free support)
Just sharing for those here who might be interested: Quote:
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Mar 2008
Posts: 12
Rep Power: 5 ![]() |
Just want you to know that I got it working
![]() Now I need to remove the parts of the Account Home (like in useraccountmodify.php) that would allow my 68c users to change their email or password. I will replace these areas with reminders to do all their account changes back at my phpBB3 website |
|
|
|
|
#10 |
|
68 Classifieds Staff
Join Date: Mar 2006
Location: Belmont, NC
Posts: 4,749
Rep Power: 109 ![]() |
Thanks for the follow up. Would you mind sharing the steps you had to take to get it working?
A lot of people seem to ask about this.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | 68 @ Twitter | My Modules |
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.68classifieds.com/forums/pre-sales-questions/3602-add-ads-x-php-script.html
|
||||
| Posted By | For | Type | Date | |
| phpBB • View topic - Almost got semi-manual integration of phpBB3 & 68classifieds | This thread | Refback | 10-11-2008 02:12 PM | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Host or Script problem? | Grebogreen | v3.1 Questions & Support | 3 | 05-08-2007 09:49 AM |
| PHP Cronjob For Full DB & Site Backup? Got a script? | bgordon | Off Topic | 13 | 12-07-2006 01:01 PM |
| Using php scripts in pages | martini55 | v3.1 Questions & Support | 7 | 05-26-2006 02:25 PM |
| including php files? | munky20 | v3.0 Questions & Support | 4 | 04-14-2006 10:27 PM |
| adding a simple banner rotator From old forum | calaf6 | v3.0 Questions & Support | 0 | 03-30-2006 04:47 PM |