Sorry I’m just getting back to you on this now Yoshi. It worked like a charm! Thank you so much for taking the time to adjust the code to fit my needs. I can’t tell you how much time you’ve saved me. If you write this conditional into the code, please let me know as it would be invaluable to so many people including me.
Again, thanks!
My host recently upgraded to PHP 5, and now I am getting this error:
Notice: Trying to get property of non-object in /path/ExpressionEngine/valyria/modules/linklist/mod.linklist.php on line 76
I saw this mentioned once before on the forum in relation to the comments module, but the fix suggested for that doesn’t seem to apply to this scenario. Or, at least I can’t figure out how it would be done. 😊
Someone else had this problem as well, but I never knew how they resolved it, as they never got back to me on the forums. If possible, I’d like to debug that problem. if you can PM your info on your site, that would be helpful, or at least get in touch with me via IM.
also, did the server upgrade to mysql 5?
MySQL is still at 4-something. So its nothing as straight-forward as in this thread?
For site access, I need to check with my host first (its not a commercial host), to make sure she’s okay with it.
Btw, while on the subject of the linklist, when I first installed 1.2.1 I ran into another problem, that I don’t think I ever ended up sorting out.
After moving two links from one linklist to another, I ended up getting the following error when I tried to use the up & down arrows to change the ordering of these two links:
Notice: Undefined index: url_id in /path/ExpressionEngine/valyria/modules/linklist/mcp.linklist.php on line 2380 MySQL ERROR: Error Number: 1064 Description: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1 Query: UPDATE exp_linklist_urls SET disporder = 34 WHERE url_id =
Ok, just so everyone knows, I figure out why only certain people are getting the error, and the reason why no one notices this happening until you upgrade PHP (which really doesn’t have anything to do with it…shoddy programming that no one would have normally ever noticed!)
Anyways, it has to do with whether or not you use the limit parameter. if it’s absent, you may (or may not!) get this error.
You will probably get this error when you upgrade PHP because at this point, PHP error reporting is different, and it may have been different prior to upgrading. and the problem may suddenly go away (in your case dru) because someone changed the error reporting settings in the php.ini. ( my guesses on that. )
So I’ve fixed the file, and will post a newly updated fix on my site. Sheesh. all this time to find out there was something wrong with the code. I simply can’t believe it’s taken this long to actually figure this out. I’m just waiting for Linda to tell me that it worked on her site, and then everyone should download the latest files to make sure you don’t have this problem in the event that your host upgrades.
This is a ‘non critical’ update, (IMHO) since only super users should be seeing the errors.
(whew, have to take a breath there.)
I just started using Linklist and wanted to throw my two cents in. I really think that it is extremely important that the ability for non super admins to be able to share link lists be built in. The primary purpose of a linklist is for the links of a site as a while, not for members as you had envisioned. If you look at the sites that use the module, this is the only conclusion one can draw. As such, sharing would be very helpful.
Case in point: I am a super admin on my site and my son is helping me out now with various things including getting reciprocal links. But it’s such a pain because he has to give me the links so I can add them, as he cannot see my list in the module. It’s either that or make my son a Super Admin. Neither is an attractive choice.
I hope you can make the sharing fix soon. I’m sure others are in a similar situation as I am.
Wondering if there a mod to allow shared LinkList’s yet?
I guess I assumed that ALL USERS with access to the linklist module would share ALL LINKLISTs created, and found after install, configure and templating it is based on individual logins. Is this possible Yet?
All my members, and moderators are using other products for their ‘personal’ linklists.. However, a SITE often needs a LINK Repository… where several people contribute to one or several lists on a shared basis. And I cannot give them all Super Admin status.. as their strengths lie in research and not in tech. I ‘could’ designate a group_id though rather than and member_id. Any use in modding existing code?
Anyone know of any other products, modules or hacks going on for this using EE?
I ran into the same issue about a month ago. I couldn’t find anything similar and haven’t seen any indication that this module will be updated. I ended up creating a weblog just for links. I used the title for the link name and a single field for the link. I set up categories to replace the individual lists. This helped too.
I’ve updated this package to allow all users to edit linklists.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.