xoops forums

weeramon

Just popping in
Posted on: 2010/5/27 2:01
weeramon
weeramon (Show more)
Just popping in
Posts: 42
Since: 2009/12/13
#31

Re: WF-Links or any Links Module??

Sorry, Ghia that wasn.t it .

By the way should live the insert to string or roll back to the previous string with lid

Anway this is the debug now after changing as you suggested:
(it did not register the link and also no link in the database )


sorry the stop did not work::



0.000116 - SET NAMES 'utf8'
0.000055 - SET SQL_BIG_SELECTS = 1
0.000104 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000258 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '8d93d10d9d5ba950581648dc80f765c9'
0.000064 - SELECT * FROM users WHERE uid = '1'
0.000058 - SELECT * FROM modules WHERE dirname = 'wflinks'
0.000085 - SELECT * FROM config WHERE (conf_modid = '23') ORDER BY conf_order ASC
0.000056 - SELECT * FROM modules WHERE dirname = 'protector'
0.000260 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.004507 - SELECT COUNT(*) FROM protector_access WHERE ip='118.173.57.124' AND request_uri='/yellow-pages/modules/wflinks/submit.php'
0.000177 - SELECT COUNT(*) FROM protector_access WHERE ip='118.173.57.124'
0.000150 - INSERT INTO protector_access SET ip='118.173.57.124',request_uri='/yellow-pages/modules/wflinks/submit.php',expire=UNIX_TIMESTAMP()+'60'
0.004350 - SELECT COUNT(*) FROM banner
0.002744 - SELECT * FROM banner LIMIT 2, 1
0.000215 - UPDATE banner SET impmade = impmade+1 WHERE bid = 3
0.000062 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000055 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (1,2)
0.000065 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,23) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,62,11,12,61,28,22,23,25,26,27,24,34,35,36,37,38,39,40,41,42,43,44,72,71,70,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,63,66,67,73,74) ORDER BY b.weight, m.block_id
0.000053 - SELECT COUNT(*) FROM priv_msgs WHERE (read_msg = '0' AND to_userid = '1')
0.000062 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000056 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND (gperm_groupid = '1' OR gperm_groupid = '2'))
0.000068 - SELECT * FROM modules WHERE dirname = 'eguide'
0.000064 - SELECT * FROM config WHERE (conf_modid = '11') ORDER BY conf_order ASC
0.000051 - SELECT * FROM eguide_category WHERE catpri=0 ORDER BY weight,catid
0.000055 - SELECT COUNT(*) FROM modules WHERE dirname = 'escorts'
0.000050 - SELECT COUNT(*) FROM `escorts_profile` WHERE uid = '1'
0.000051 - SELECT indeximage, indexheading FROM wflinks_indexpage
0.000066 - SELECT * FROM wflinks_links WHERE lid=0
0.000055 - SELECT * FROM wflinks_cat ORDER BY title
0.000046 - SELECT cid, title FROM wflinks_cat WHERE pid=0 ORDER BY title
0.000055 - SELECT * FROM wflinks_cat WHERE pid=1 ORDER BY title
0.000054 - SELECT * FROM wflinks_cat WHERE pid=2 ORDER BY title



Should I try older version 1.0.7 or 1.0.6

but since someone suggested the module should be tested in 2.4.4 before uploading to the repository, I think we should find this trouble ( perhaps the developer , mcdonald will read this thread, too.

Because he might not yet know about this matter.

ghia

Community Support Member
Posted on: 2010/5/27 7:31
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#32

Re: WF-Links or any Links Module??

Try to change the redirect in the submit.php to
redirect_header'index.php'20_MD_WFL_THANKSFORINFO );
This will give you more time to inspect and copy the debug info at the right 'thank you' page.

I tested inserting a link at your site as anonymous. The page is returning to the 'input a link' page without warning or announcement for not having permission. I didn't see the 'thank you for your submission'.

PHP and MySQL version?

weeramon

Just popping in
Posted on: 2010/5/27 13:18
weeramon
weeramon (Show more)
Just popping in
Posts: 42
Since: 2009/12/13
#33

Re: WF-Links or any Links Module??

I have intentionally turned on the permission for anonymous user.

Did now change the redirect as you suggested

this is now the debug

QUERIES
0.000097 - SET NAMES 'utf8'
0.000054 - SET SQL_BIG_SELECTS = 1
0.000097 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000280 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '8d93d10d9d5ba950581648dc80f765c9'
0.000057 - SELECT * FROM modules WHERE dirname = 'wflinks'
0.000050 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '1' AND (gperm_groupid = '3') AND gperm_name = 'module_read' AND gperm_itemid = '23')
0.000087 - SELECT * FROM config WHERE (conf_modid = '23') ORDER BY conf_order ASC
0.000059 - SELECT * FROM modules WHERE dirname = 'protector'
0.000126 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.000404 - SELECT COUNT(*) FROM protector_access WHERE ip='118.173.57.124' AND request_uri='/yellow-pages/modules/wflinks/submit.php'
0.000368 - SELECT COUNT(*) FROM protector_access WHERE ip='118.173.57.124'
0.000166 - INSERT INTO protector_access SET ip='118.173.57.124',request_uri='/yellow-pages/modules/wflinks/submit.php',expire=UNIX_TIMESTAMP()+'60'
0.000327 - SELECT COUNT(*) FROM banner
0.000312 - SELECT * FROM banner LIMIT 0, 1
0.000171 - UPDATE banner SET impmade = impmade+1 WHERE bid = 1
0.000058 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000052 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3)
0.000066 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,23) AND b.bid IN (62,61,59,58,57,56,48,47,46,45,44,70,72,74,71,73,43,42,41,40,39,38,37,36,35,34,28,22,23,24,25,26,27,10,8,5,4,3,2,1,67,66,63) ORDER BY b.weight, m.block_id
0.000062 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1' AND weight > '0') ORDER BY weight ASC, mid ASC
0.000053 - SELECT * FROM group_permission WHERE (gperm_name = 'module_read' AND gperm_modid = '1' AND gperm_groupid = '3')
0.000072 - SELECT * FROM modules WHERE dirname = 'eguide'
0.000065 - SELECT * FROM config WHERE (conf_modid = '11') ORDER BY conf_order ASC
0.000052 - SELECT * FROM eguide_category WHERE catpri=0 ORDER BY weight,catid
0.000055 - SELECT COUNT(*) FROM modules WHERE dirname = 'escorts'
0.000052 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkSubPerm')
0.000051 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkSubPerm' AND gperm_itemid = '1')
0.000046 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkSubPerm' AND gperm_itemid = '1')
0.000047 - SELECT indeximage, indexheading FROM wflinks_indexpage
0.000068 - SELECT * FROM wflinks_links WHERE lid=0
0.000055 - SELECT * FROM wflinks_cat ORDER BY title
0.000045 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkSubPerm' AND gperm_itemid = '1')
0.000047 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkSubPerm' AND gperm_itemid = '2')
0.000046 - SELECT cid, title FROM wflinks_cat WHERE pid=0 ORDER BY title
0.000054 - SELECT * FROM wflinks_cat WHERE pid=1 ORDER BY title
0.000053 - SELECT * FROM wflinks_cat WHERE pid=2 ORDER BY title
0.000051 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkAppPerm')
0.000047 - SELECT COUNT(*) FROM group_permission WHERE (gperm_modid = '23' AND (gperm_groupid = '3') AND gperm_name = 'WFLinkAutoApp')


weeramon

Just popping in
Posted on: 2010/5/27 13:21
weeramon
weeramon (Show more)
Just popping in
Posts: 42
Since: 2009/12/13
#34

Re: WF-Links or any Links Module??

Sorry, Ghia I was overworked you asked me on my first post if I get the thank you message.

Sorry I never got it, I always got only.

All new links's are subject to validation and may take up to 24 hours before they appear in our listing.
We reserve the rights to refuse any submitted link or change the content without approval.


Really my apologize, so you started to fix the issue with incorrect, thats why you suggested the database my sql change.

Anyway it is something else I guess.

McDonald

Home away from home
Posted on: 2010/5/29 10:08
McDonald
McDonald (Show more)
Home away from home
Posts: 1072
Since: 2005/8/15
#35

Re: WF-Links or any Links Module??

Make sure that the Disclaimer is turned of in the Preferences, this one can cause a problem.

weeramon

Just popping in
Posted on: 2010/5/29 16:43
weeramon
weeramon (Show more)
Just popping in
Posts: 42
Since: 2009/12/13
#36

Re: WF-Links or any Links Module??

disclaimer was turned off all the time.

thanks but it did not work.

you may try yourself the debug mode is on.

http://www.pattayayellow.com/yellow-pages/modules/wflinks/


since you are the author of the module you will most probably get the issue fixed much easier.

thanks anyway.

It seems that all other issues which I have read in the post about
1.06 and other earlier versions are fixed like the country issue etc.

my version is the latest stable 2.4.4


weeramon

Just popping in
Posted on: 2010/6/3 4:00
weeramon
weeramon (Show more)
Just popping in
Posts: 42
Since: 2009/12/13
#37

Re: WF-Links or any Links Module??

Ok, this is still an existiing problem , I also installed wf-resources, but submission still does not work

beduino

Friend of XOOPS
Posted on: 2010/8/31 19:11
beduino
beduino (Show more)
Friend of XOOPS
Posts: 35
Since: 2005/2/26
#38

Re: WF-Links or any Links Module??

thank you mcdonald :)

jph000

Just popping in
Posted on: 2011/3/17 1:53
jph000
jph000 (Show more)
Just popping in
Posts: 60
Since: 2004/8/2 2
#39

Re: WF-Links $wfllink.countryname still

Was there ever a fix to wflinks 1.07 / 1.08 for the "problem in the showing of the country, that is, in the replacement of the smarty variable for the country. Instead of country, one sees Country: <{$wfllink.countryname}>." which barryc posted on 2010/2/13.

I downloaded wflinks 1.08 from the sourceforge repository last week and am having the same problem with missing country (flag) not showing, although the value is correct in the database table.

Also, the repository copy did not have the the mod suggested by McDonald for wflinks/templates/wflinks_index.html regarding wfllink versus link.

To fix bad URLs in "Other links by" list due to // before singlelink.php part of URL, edited line 103 of /wflinks/templates/wflinks_singlelink.html file. Replaced {$link.module_dir} with {$xoops_dirname} string.

Update March 17, 2011: Fixed broken country (flag) by changing Preferences value for Country Flag Image Directory to modules/wflinks/images/flags/flags_small instead of uploads/images/flags/flags_small. In updating from version 1.06, the default value in the xoops_version.php file changed.

peterr

Just can't stay away
Posted on: 2011/4/2 1:13
peterr
peterr (Show more)
Just can't stay away
Posts: 518
Since: 2004/8/5 9
#40

Re: WF-Links or any Links Module??

Running version 1.08 by Catwolf.

Various bugs ..

1. Country does not display correctly, it is shown as Country: <{$wfllink.countryname}>

2. Pagerank is displayed as

PageRankā„¢:
<{$smarty.const._MD_WDFL_PAGERANKALT}>
<{$wfllink.pagerank}>(/10)

Also, the other link modules, like mylinks and weblinks don't look like they are supported anymore, no updates for quite a while.

I don't like the public being able to view the submitter and publisher in wf-links, as the username can be seen, which is, for a site that only has 'admin/webmaster', a security risk.

Not really impressed with any of the link modules for XOOPS, there seems to be only 3, weblinks, mylinks and wf-links.

Peter