11
ChadK
Re: myAds/Classified ads/Modify Ad
  • 2004/9/21 23:32

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


And you get the job of making sure everything is Portugese.. ;)

12
wcrwcr
Re: myAds/Classified ads/Modify Ad
  • 2004/9/22 3:06

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Lol

My job is a lot easier than yours.
I promise u.

"parrot talking"= I?ll send you to check.

Thanks Chad

13
draken
Re: myAds/Classified ads/Modify Ad
  • 2004/9/27 16:16

  • draken

  • Just popping in

  • Posts: 28

  • Since: 2002/2/1 1


it's good....

i'm waiting for your release of this module...


14
ChadK
Re:myAds/Classified ads/Modify Ad
  • 2004/10/8 14:45

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Check the module repository.. I'm going there next to put a copy of my hacked myAds in there for beta. I'll then be placing a module on xoopsforge for the module development.

15
wcrwcr
Re:myAds/Classified ads/Modify Ad
  • 2004/10/8 16:19

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi Chad

What a great news........
I?ll check it asap

And then, go deep into the translation thing, ok?

Regards,
Wilson

16
ChadK
Re:myAds/Classified ads/Modify Ad
  • 2004/10/8 16:38

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Here's the project... I've cleaned up the myAds a bit for this release so if you're one of the people who got it from me directly, be sure to grab this version instead of the one I sent you directly.
Also on that site is a screenshot (in the files area)
http://dev.xoops.org/modules/xfmod/project/?xclassified

17
wcrwcr
Re:myAds/Classified ads/Modify Ad
  • 2004/10/8 17:45

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi chad

Did I miss something here?
Quote:

I use the IPB module so the PM link is to the IPM messaging system. If you want to change this, edit the line in the index.php (line 304) from:
$contact = ""._CLA_CONTACT." Private Msg";
to:
$contact = ""._CLA_CONTACT." Private Msg";
|


Thanks

18
ChadK
Re:myAds/Classified ads/Modify Ad
  • 2004/10/8 21:48

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Yes, I screwed that up.. just replace line 304 with:
$contact = ""._CLA_CONTACT." Private Msg";
unless you use the xIPM module.

19
kenmcd
Re:myAds/Classified ads/Modify Ad
  • 2004/10/9 22:47

  • kenmcd

  • Just popping in

  • Posts: 63

  • Since: 2004/6/8 1


From:
$contact = ""._CLA_CONTACT." Private Msg";
to:
$contact = ""._CLA_CONTACT." Private Msg";
just replace line 304 with:
$contact = ""._CLA_CONTACT." Private Msg";

All three are the same.
Is XOOPS stripping some characters from your posts?
Would it work in a CODE block?

20
bobdt
Re:myAds/Classified ads/Modify Ad (bug?)
  • 2004/10/9 23:56

  • bobdt

  • Just popping in

  • Posts: 38

  • Since: 2003/9/11


Hello, I've try this module but when I try to add a category it reply with an blank page then I've activated the php debug and it say this:

Fatal error: Call to undefined function: index() in /usr/www/htdocs/mysite.com/home/modules/myAds/admin/gest-cat.php on line 250
Notice [PHP]: Undefined variable: op in file modules/myAds/admin/gest-cat.php line 224

any ideas?

ThankYou

Bob

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits

None All Errors (0) Deprecated (0) Queries (93) Blocks (13) Extra (2) Timers(8)
Errors
Deprecated
Queries
0.000070 - SET SQL_BIG_SELECTS = 1
0.000685 - SELECT * FROM config WHERE (`conf_modid` = 0 AND `conf_catid` = 1) ORDER BY conf_order ASC
0.000390 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'd5a054ac430dff513ba70830db829f41'
0.000863 - SELECT COUNT(*) FROM group_permission WHERE (`gperm_modid` = 1 AND (`gperm_groupid` = 2) AND `gperm_name` = 'module_read' AND `gperm_itemid` = 7)
0.000779 - SELECT * FROM config WHERE (`conf_modid` = 7) ORDER BY conf_order ASC
0.000255 - SELECT COUNT(*) FROM online WHERE online_uid=0 AND online_ip='216.73.216.134'
0.005783 - UPDATE online SET online_updated = 1785123118, online_module = 7 WHERE online_uid = 0 AND online_ip='216.73.216.134'
0.000423 - SELECT * FROM config WHERE (`conf_modid` = 139) ORDER BY conf_order ASC
0.000135 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.000170 - SELECT COUNT(*) FROM protector_access WHERE ip='216.73.216.134' AND request_uri='/modules/newbb/viewtopic.php?post_id=108281'
0.000263 - SELECT COUNT(*) FROM protector_access WHERE ip='216.73.216.134'
0.000172 - INSERT INTO protector_access SET ip='216.73.216.134', request_uri='/modules/newbb/viewtopic.php?post_id=108281', expire=UNIX_TIMESTAMP()+'60'
0.000262 - SELECT t.* FROM newbb_topics t, newbb_posts p WHERE t.topic_id = p.topic_id AND p.post_id = 108281
0.000164 - SELECT * FROM newbb_forums WHERE forum_id = '15'
0.000308 - SELECT COUNT(*) FROM `newbb_posts` WHERE (`topic_id` = 24188 AND `approved` = 1)
0.000254 - SELECT COUNT(*) FROM newbb_posts AS p WHERE p.topic_id=24188 AND p.approved = 1 AND p.post_id < 108281
0.000516 - SELECT p.*, t.* FROM newbb_posts p, newbb_posts_text t WHERE p.topic_id=24188 AND p.post_id = t.post_id AND p.approved = 1 ORDER BY p.post_id ASC LIMIT 10 OFFSET 10
0.000178 - UPDATE newbb_topics SET topic_views = LAST_INSERT_ID(topic_views + 1) WHERE topic_id =24188
0.000637 - SELECT * FROM config WHERE (`conf_modid` = 1) ORDER BY conf_order ASC
0.000113 - SELECT COUNT(*) FROM `publisher_categories`
0.000626 - SELECT gperm_itemid FROM group_permission WHERE (`gperm_name` = 'category_read' AND `gperm_modid` = 123 AND (`gperm_groupid` = 2))
0.001843 - SELECT COUNT(*) FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)))
0.000225 - SELECT COUNT(*) FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 1))
0.006716 - SELECT COUNT(*) FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2))
0.000172 - SELECT COUNT(*) FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 3))
0.000163 - SELECT COUNT(*) FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 4))
0.000125 - SELECT * FROM groups
0.001282 - SELECT DISTINCT c.* FROM imagecategory c LEFT JOIN group_permission l ON l.gperm_itemid=c.imgcat_id WHERE (l.gperm_name = 'imgcat_read' OR l.gperm_name = 'imgcat_write') ORDER BY imgcat_weight, imgcat_id ASC
0.000234 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 4 OFFSET 0
0.000229 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 3 OFFSET 0
0.000231 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 4 OFFSET 0
0.000296 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 10 OFFSET 0
0.000227 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 4 OFFSET 0
0.000293 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 4 OFFSET 0
0.000206 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 1 OFFSET 0
0.000240 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 8 OFFSET 0
0.000239 - SELECT * FROM publisher_items WHERE ((`categoryid` IN (15,14,12,11,10,9,8,7,6,5,4,3,2,1)) AND (`status` = 2)) LIMIT 9 OFFSET 0
0.000190 - SELECT * FROM config WHERE (`conf_modid` = 0 AND `conf_catid` = 5) ORDER BY conf_order ASC
0.000101 - SELECT COUNT(*) FROM banner
0.000135 - SELECT * FROM banner LIMIT 1 OFFSET 3
0.000129 - UPDATE banner SET impmade = 72240940 WHERE bid = 45
0.000204 - SELECT * FROM config WHERE (`conf_modid` = 0 AND `conf_catid` = 3) ORDER BY conf_order ASC
0.005498 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (2)
0.000794 - SELECT b.* FROM newblocks b JOIN block_module_link m ON m.block_id = b.bid LEFT JOIN modules mo ON mo.mid = b.mid WHERE b.isactive =1 AND (mo.isactive =1 OR b.mid = 0) AND b.visible=1 AND m.module_id IN (0,7) AND b.bid IN (312,313,310,293,292,85,291,290,216,215,214,213,212,211,206,207,208,209,210,189,188,184,183,182,181,180,179,178,177,151,136,138,137,86,84,83,82,81,80,79,78,77,96,205,204,314,317,316,315,367,226,132,91,90,89,191,190,161,10,7,44,6,3,2,305,295,288,231,230,229,228,227,221,201,200,294,187,186,185,175,174,166,160,159,158,157,156,147,146,145,144,143,142,140,139,128,127,129,113,94,65,106,88,92,219,60,53,97,40,37,61,153,26,29,311,326,327,335,334,333,336,356,363,366,358,361,364,357,359,362,365,352,353,354,355,368,447,369,384,378,379,374,375,46,370,371,372,373,380,376,381,382,383,360,386,131,387,388,389,390,391,392,393,394,395,396,397,398,450,448,446,449,418,417,416,415,425,424,423,422,421,420,419,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488) ORDER BY b.weight, m.block_id
0.000332 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_login.tpl') ORDER BY tpl_refid
0.000303 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_search.tpl') ORDER BY tpl_refid
0.000633 - SELECT t.topic_id, t.topic_replies, t.forum_id, t.topic_title, t.topic_views, t.type_id, f.forum_name,t.topic_status, p.post_id, p.post_time, p.icon, p.uid, p.poster_name FROM newbb_topics AS t LEFT JOIN newbb_posts AS p ON t.topic_last_post_id=p.post_id LEFT JOIN newbb_forums AS f ON f.forum_id=t.forum_id WHERE 1=1 AND t.forum_id IN (47,46,40,34,59,60,58,18,23,14,10,21,39,2,8,69,68,67,66,75,65,12,33,16,5,31,17,32,15,30,29,28,4,9,13,7,1,20,27,74,72,64,52,63,62,57,53,3,43,42,11,73,6,81,76,77,78,82,84) AND t.approved = 1 AND p.post_time>1779939118 ORDER BY t.topic_last_post_id DESC LIMIT 10 OFFSET 0
0.000153 - SELECT uid, uname, name FROM users WHERE level > 0 AND uid IN(19563)
0.000312 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'newbb_block.tpl') ORDER BY tpl_refid
0.000310 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_dummy.tpl') ORDER BY tpl_refid
0.001640 - SELECT p.post_id, p.subject, p.post_time, p.icon, p.uid, p.poster_name, f.forum_id, f.forum_name FROM newbb_posts AS p LEFT JOIN newbb_forums AS f ON f.forum_id=p.forum_id WHERE 1=1 AND p.forum_id IN (47,46,40,34,59,60,58,18,23,14,10,21,39,2,8,69,68,67,66,75,65,12,33,16,5,31,17,32,15,30,29,28,4,9,13,7,1,20,27,74,72,64,52,63,62,57,53,3,43,42,11,73,6,81,76,77,78,82,84) AND p.approved = 1 AND p.post_time>1754019118 ORDER BY p.post_id DESC LIMIT 10 OFFSET 0
0.000187 - SELECT uid, uname, name FROM users WHERE level > 0 AND uid IN(19563,32997)
0.000279 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'newbb_block_post.tpl') ORDER BY tpl_refid
0.000344 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_block_comments.tpl') ORDER BY tpl_refid
0.000203 - SELECT name, value FROM donations_config WHERE subtype = '' OR subtype = 'array'
0.000292 - SELECT * FROM config WHERE (`conf_modid` = 105) ORDER BY conf_order ASC
0.000136 - SELECT value FROM donations_config WHERE name = 'xdonation_amt_checked' LIMIT 1
0.000225 - SELECT COUNT(mc_gross) AS count, SUM(mc_gross) AS gross, SUM(mc_gross - mc_fee) AS net, DATE_FORMAT(NOW(),'%M') AS mon, DATE_FORMAT(SUBDATE(DATE_FORMAT(ADDDATE(NOW(), INTERVAL 1 MONTH),'%Y-%c-1'), INTERVAL 1 DAY),'%b %e') AS due_by, DATE_FORMAT(NOW(),'%b') AS mon_short FROM donations_transactions WHERE payment_date >= DATE_FORMAT(NOW(),'%Y-%m-1')
0.000166 - SELECT value FROM donations_config WHERE name='month_goal' AND subtype='Jul' LIMIT 1
0.000221 - SELECT custom AS muser_id, option_selection1 AS showname, DATE_FORMAT(payment_date,'%b %e') AS date, SUM(mc_gross) AS gross_amount, CONCAT('$', FORMAT(SUM(mc_gross),2)) AS amt FROM donations_transactions WHERE payment_date >= DATE_FORMAT(NOW(),'%Y-%m-1') GROUP BY txn_id ORDER BY payment_date DESC LIMIT 10
0.000272 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'donations_donatometer.tpl') ORDER BY tpl_refid
0.000441 - SHOW TABLES LIKE 'menuscategory'
0.000424 - SHOW TABLES LIKE 'menusitems'
0.000265 - SELECT * FROM group_permission WHERE (`gperm_name` = 'menus_category_view' AND `gperm_modid` = 1 AND (`gperm_groupid` = 2))
0.000274 - SELECT * FROM group_permission WHERE (`gperm_name` = 'menus_items_view' AND `gperm_modid` = 1 AND (`gperm_groupid` = 2))
0.000167 - SELECT * FROM `menuscategory` WHERE (`category_active` = 1 AND `category_id` IN (1,2)) ORDER BY category_position ASC
0.000171 - SELECT * FROM `menusitems` WHERE (`items_active` = 1 AND `items_id` IN (2,3,1,4,5,6,7)) ORDER BY items_position ASC
0.000131 - SELECT * FROM newbb_categories WHERE cat_id = '2'
0.000684 - SELECT * FROM `users` WHERE `uid` IN (22255,15133,560,21200,12701)
0.000180 - SELECT rank_title AS title, rank_image AS image FROM ranks WHERE rank_min <= 28 AND rank_max >= 28 AND rank_special = 0
0.000210 - SELECT groupid FROM groups_users_link WHERE uid=560
0.000132 - SELECT * FROM groups WHERE `groupid` IN (3)
0.000147 - SELECT * FROM smiles
0.000169 - SELECT rank_title AS title, rank_image AS image FROM ranks WHERE rank_min <= 38 AND rank_max >= 38 AND rank_special = 0
0.000134 - SELECT groupid FROM groups_users_link WHERE uid=12701
0.000153 - SELECT * FROM groups WHERE `groupid` IN (3)
0.000296 - SELECT rank_title AS title, rank_image AS image FROM ranks WHERE rank_min <= 1114 AND rank_max >= 1114 AND rank_special = 0
0.000171 - SELECT groupid FROM groups_users_link WHERE uid=15133
0.000182 - SELECT * FROM groups WHERE `groupid` IN (3)
0.000175 - SELECT rank_title AS title, rank_image AS image FROM ranks WHERE rank_min <= 63 AND rank_max >= 63 AND rank_special = 0
0.000137 - SELECT groupid FROM groups_users_link WHERE uid=21200
0.000129 - SELECT * FROM groups WHERE `groupid` IN (3)
0.000224 - SELECT rank_title AS title, rank_image AS image FROM ranks WHERE rank_min <= 242 AND rank_max >= 242 AND rank_special = 0
0.000134 - SELECT groupid FROM groups_users_link WHERE uid=22255
0.000121 - SELECT * FROM groups WHERE `groupid` IN (3)
0.000150 - SELECT user_digests, uid FROM newbb_user_stats WHERE uid IN( 560, 12701, 15133, 21200, 22255)
0.000336 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'system_pagenav.tpl') ORDER BY tpl_refid
0.000146 - SELECT * FROM `newbb_moderates` WHERE (`uid` = 0 AND (`forum_id` = 0 AND `forum_id` = 15) AND `mod_end` > 1785123118)
0.000867 - SELECT * FROM group_permission WHERE (`gperm_modid` = 7 AND `gperm_groupid` IN (2) AND `gperm_itemid` = 15 AND `gperm_name` IN ('\'forum_access\'','\'forum_view\'','\'forum_post\'','\'forum_reply\'','\'forum_edit\'','\'forum_delete\'','\'forum_addpoll\'','\'forum_vote\'','\'forum_attach\'','\'forum_noapprove\'','\'forum_type\'','\'forum_html\'','\'forum_signature\'','\'forum_pdf\'','\'forum_print\''))
0.000192 - SELECT `cat_id`, `cat_order`, `cat_title` FROM `newbb_categories` WHERE `cat_id` IN (10,3,1,2,7,4) ORDER BY cat_order ASC
0.000451 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'newbb_viewtopic.tpl') ORDER BY tpl_refid
0.000306 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (`tpl_tplset` = 'default' AND `tpl_file` = 'newbb_thread.tpl') ORDER BY tpl_refid
0.000220 - INSERT INTO session (sess_id, sess_updated, sess_ip, sess_data) VALUES ('d5a054ac430dff513ba70830db829f41', 1785123118, '216.73.216.134', 'protector_last_ip|s:14:\"216.73.216.134\";newbb_LV|i:1785123118;') ON DUPLICATE KEY UPDATE sess_updated = 1785123118, sess_data = 'protector_last_ip|s:14:\"216.73.216.134\";newbb_LV|i:1785123118;', sess_ip = '216.73.216.134'
Total: 93
Blocks
Login: Not cached
Search: Not cached
Recent Replied Topics. It Will drop (use advance topic renderer block): Not cached
Custom Block (HTML): Not cached
Recent Posts: Not cached
Custom Block (HTML): Not cached
Recent Comments: Cached (regenerates every 60 seconds)
Donat-O-Meter: Not cached
Custom Block (HTML): Not cached
Custom Block (HTML): Not cached
Custom Block (HTML): Not cached
Custom Block (HTML): Not cached
Custom Block (HTML): Not cached
Total: 13
Extra
Included files: 388 files
Memory usage: 1789736 bytes
Timers
XOOPS took 0.077 seconds to load.
XOOPS Boot took 0.005 seconds to load.
Module init took 0.013 seconds to load.
newBB_Header took 0.000 seconds to load.
newBB_viewtopic took 0.062 seconds to load.
XOOPS output init took 0.040 seconds to load.
Module display took 0.017 seconds to load.
Page rendering took 0.002 seconds to load.