Welcome to Geeklog Wednesday, May 22 2013 @ 02:12 AM EDT
|
||||||||
![]() |
Forum Index > Extensions > Plugins |
New Topic
|
Post Reply
|
Updated version of Classified Ads plugin |
|||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
An updated version of the plugin for Classified Ads (see earlier story) is now available for download. New features in this version are:
A demo of the plugin is available at http://geeklog.info/ (last block in the right column). Feel free to test it out. bye, Dirk |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Yes, thank you to those who tried it out - I got the message: I need to stick in some wordwrap calls here and there ... ;-) bye, Dirk |
||||||
|
|||||||
| epretorious |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 07/02/02 Posts: 26 |
PLEASE HELP: I'm experiencing MAJOR problems with Classifads-0.2.
(/classifads/index.php just barfs all over the page!) * I followed the installation instructions. I even commented-out the include_once() statement in classifads.cfg! (That's not in the instructions.) * The admin interface works just fine. I've left the file in it's location, just in-case anyone would like to see what's happening: http://www.fun4wda.com/classifads/index.php Thanks in advance Eric P. Eric P. Sunnyvale, CA |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
My guess is that your host does not have the short_open_tag option (in php.ini) enabled.
If you can't change that yourself, replace all occurences of <? with <?php and see if that helps. I'll make sure future versions of the plugin don't use the short tags any more. bye, Dirk |
||||||
|
|||||||
| epretorious |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 07/02/02 Posts: 26 |
Dirk:
Short tags are enabled. (If they weren't, the script would have bombed much earlier than at "$cat $LANG_CLADS[adsection]..." I have root access to the server. (The server is my own.) If there's anything that I need to change, I can do it. Just tell me. Eric P. Eric P. Sunnyvale, CA |
||||||
|
|||||||
| epretorious |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior Status: offline ![]() Registered: 07/02/02 Posts: 26 |
Dirk was right: My PHP configurations (short_open_tags = Off) were
partly to blame. The first block of PHP code in /classifads/index.php begin with the long open tag "<?php" but the rest start with the short tag "<?". I changed the openning tags (from "<?" to "<?php" works fine now. Thanks, Dirk! Eric P. Sunnyvale, CA |
||||||
|
|||||||
| enigmah |
|
||||||
![]() ![]() ![]() ![]() ![]() Chatty ![]() Status: offline ![]() Registered: 07/22/02 Posts: 50 |
I have installed classified ads on my website:
http://www.roughlife.com/portal/public_html/classifads/index.php The problem is the ads are all editable by any users, where did I go wrong? Thanks |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
(I get an "error selecting database" when I go to your site)
How did you test that all users can edit the ads? If you used the same browser to log in as another user, then that is the explanation. The Classifads plugin uses a cookie to remember who submitted an ad. So if you log in as another user from the same browser, that cookie is still there and you can edit the ad. I'm working on a new version of that plugin which uses a different approach. It will not use cookies any more but use the user registration provided by Geeklog. I.e. registered users will be allowed to edit their own ads (regardles from where they log in) and anonymous users will not be able to edit their ads at all. bye, Dirk |
||||||
|
|||||||
| enigmah |
|
||||||
![]() ![]() ![]() ![]() ![]() Chatty ![]() Status: offline ![]() Registered: 07/22/02 Posts: 50 |
Hi Dirk, I disable the plugin on my site. I think your idea is good and I look forward to see the new version. Meanwhile I am using phpclassified ads. Thanks, enig
|
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
I received a couple of questions regarding this plugin over the last weeks, so I'd like to point out that an updated version 0.3 is available from geeklog.info. That version features a tighter integration into Geeklog and it doesn't rely on cookies any more. It's still flagged as being a beta version, but that is mainly due to the fact that it doesn't offer an upgrade path from version 0.2 yet. So if you're planning to install this plugin, I'd suggest you start with version 0.3. If you're already running version 0.2, then I'm afraid the only way to upgrade is to uninstall 0.2 (thus losing all your current ads!) and doing a fresh install of version 0.3. bye, Dirk |
||||||
|
|||||||
| Anonymous: Anonymous |
|
||||||
|
|
Where can I see this plug-in in action?
|
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
You can see and test it on http://project.geeklog.net/~dhaun/ bye, Dirk |
||||||
|
|||||||
| Anonymous: Anonymous |
|
||||||
|
|
Can this plugin be made to display ALL ads (in addition to each category)? Also, what kind of administration is available? For example, are expired ads automatically deleted?
|
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
There is currently no way to display all ads (other than doing a search).
Expired ads are deleted automatically. The (Classifads)Admin can edit and/or delete any ads. bye, Dirk |
||||||
|
|||||||
| dgrosvold |
|
||||||
![]() ![]() ![]() ![]() ![]() Newbie Status: offline ![]() Registered: 06/05/03 Posts: 8 |
Dirk:
Just finished installing your new classifieds update. I happened to notice a spelling error in english.php. Dave Grosvold - Greenwood, AR |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Quote by dgrosvold:The entry for loginrequiredblock has the word members spelled as membeers. Oops. Thanks for spotting that. bye, Dirk |
||||||
|
|||||||
| gape |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 05/30/02 Posts: 128 |
i didn't read so well all of this thread and i installed version 0.2
i tested it out it's working ... kinda ... ql before i uninstall 0.2 and install 0.3 (instead of zclassifieds as i remember ...) i have a q is tehere a way, that i can display those ads in ... lets say static page? how? is there a 'skin' for those ads? i noticed that original script had been using template i see a dir with templates in this distrib too ... but ... displaying ads just in a block ... that's too small for me i would like to put together something like this http://www.najdi.si/oglasna-deska/ wrapped in a geeklog ... preferably ... any sugestions? |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Okay, first of all: I've given up development of this plugin. Anyone wanting to pick it up feel free to do so. The latest version (that should be 0.3 - can't even remember ...) can be found in the GPlugs CVS, here.
Quote by gape: is tehere a way, that i can display those ads in ... lets say static page? If you go to http://example.com/classifads/ you should see all the ads. bye, Dirk |
||||||
|
|||||||
| gape |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 05/30/02 Posts: 128 |
Quote by Dirk: Okay, first of all: I've given up development of this plugin. Anyone wanting to pick it up feel free to do so. The latest version (that should be 0.3 - can't even remember ...) can be found in the GPlugs CVS, here. Quote by gape: is tehere a way, that i can display those ads in ... lets say static page? If you go to http://example.com/classifads/ you should see all the ads. bye, Dirk aha so if i want to change things (i.e. layout) i just change them in classifads/index.php i suppose do you think i should use another engine, for ads? i find this one pretty simple ... exactly what i need ... no fancy stuff ... have to upgrade & finish it to see if this is it, but it looks like it ... i mean ... you are using it ... is it working on production sites without problems? one more thing how do i get Classified ads out of the menu that is displayed by some skins? i supose here somewhere {menu_elements}{plg_menu_elements} but where is their list of elements generated? i know about the statis pages - the label thingy ... tnx in advance ... gape |
||||||
|
|||||||
| Dirk |
|
||||||
![]() ![]() ![]() ![]() ![]() Admin ![]() Status: offline ![]() Registered: 01/12/02 Posts: 13027 |
Quote by gape: do you think i should use another engine, for ads? i find this one pretty simple ... exactly what i need If it does what you want, why not use it? It won't suddenly stop working just because it's old ... Quote by gape: how do i get Classified ads out of the menu that is displayed by some skins? The functions.php has a function called plugin_getmenuitems_classifads. Just remove that function or comment it out. bye, Dirk |
||||||
|
|||||||
| Content generated in: 7.43 seconds |
|
|
|