Webmastersite.net
Register Log In

limit link issue
link limit not accurate

Comments on limit link issue

mx3design
Member

Usergroup: Customer
Joined: May 30, 2007

Total Topics: 12
Total Comments: 45
Posted May 30, 2007 - 10:26 AM:

Hi Paul,

Firstly thanks for a great script.

I have an inaccuracy if I limit links for a usergroup. eg. if limited to total = 1 WSN allows 2 links to be posted. If limited to total =2 then 3 links can be posted etc. The table _membergroups shows the correct data. Any ideas how to fix this? it's important to my application.

Secondly and this is a 'how do I do this' I want to delete or hide posts if a member is deleted or their status changes to guest. Can this be done?

Many thanks
Jay
mx3design
Member

Usergroup: Customer
Joined: May 30, 2007

Total Topics: 12
Total Comments: 45
Posted May 30, 2007 - 12:17 PM:

The second part could be solved using advanced SQL filtering (but I don't trust my syntax!). If there is no other alternative that I've missed could you give me an SQL condition which states:

Only show links where the user that posted them is currently part of a membergroup higher than 1.

Hope this is logical!
Many thanks
Jay
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.