41
El_Jordo
Re: Banning Users
  • 2004/2/18 5:17

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


The most complete way to do it is to find out their IP address (from a news comment or the Who's Online block, maybe) and add it to the banned IP list in the general preferences.

I took a somewhat different approach on my site. I created a group called "Trolls," which has access to only the basic website modules, and an additional block explaining that they've been restricted due to misbehavior. When somebody misbehaves, simply add them to the Trolls group and remove them from the Registered group.



42
El_Jordo
Re: Automatically bring focus to username text box
  • 2004/2/16 23:41

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


That worked perfectly. Thank you!



43
El_Jordo
Automatically bring focus to username text box
  • 2004/2/16 19:55

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


I'd like the username box (in the login block) to receive the focus after loading, much like the Google search box automatically receives the focus on that page. That way, my users could simply type username-tab-password-enter, without having to first click inside the username box.

I've examined the source code of many pages, including Google, but I can't seem to make it work precisely. It looks like I need a snippet of javascript in the theme.html file. Could somebody lend me a hand?

Thanks!



44
El_Jordo
Re: Some SQL help, please?
  • 2004/2/16 13:54

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


I've got MySQL 3.23.54. Does that mean I'm out of luck?

Is there a way to do any of this from the phpMyAdmin interface?



45
El_Jordo
I need a simpler download module
  • 2004/2/14 15:58

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


I run a school newspaper website, and I'm looking to post a PDF version of the newspaper that people can download. However, I'm really turned off by the mydownloads module. I don't need ratings, categories, platform/version information, or comments.

Before I drive myself crazy hacking the mydownloads module to remove all the features I don't need, I thought I'd ask and see if anybody has other download modules they use/recommend. All I need is a way to keep track of how many times a PDF has been downloaded. Everything beyond that is unnecessary.

Thanks for the help!



46
El_Jordo
Re: Some SQL help, please?
  • 2004/2/12 21:06

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


Hmm, that didn't work like it should have...

Quote:
mysql> update xoops_users set rank = 5 where uid in (select uid from xoops_groups_users_link where groupid = 4);
ERROR 1064: You have an error in your SQL syntax near 'select uid from xoops_groups_users_link where groupid = 4)' at line 1


Do I need another semicolon for the subquery, perhaps?



47
El_Jordo
Some SQL help, please?
  • 2004/2/12 15:23

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


I have a number of users in a "staff" group, and I would like to give them all the same rank. The admin interface offers no way to change ranks in bulk, so I'm looking to do some SQL commands.

I can generate a list of the uid's of the staff group by executing this query:
mysql> select uid from xoops_groups_users_link where groupid = 4;

And I can update a user's rank by doing this:
mysql> update xoops_users set rank = 5 where uid = 10;

How do I combine the two so that it automatically updates the rank on all uid's in the results of the first query?

Thanks in advance!



48
El_Jordo
Re: What Do You Use?
  • 2003/12/16 16:46

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


Perhaps because if he uses all 3, there will be 3 separate entries in the main menu for 3 separate sections of the site? (Just a guess.)

I have two XOOPS sites. On the first, I use the news module in addition to another severely hacked news module (turned it into a knowledge base), forums, weblinks, and xoopsmembers.

On the other, I use the standard news module (only slightly hacked this time ), tinycontent, forums, polls, contact, and xoopsmembers.

I've experimented with many others, and I'm always looking for better modules.



49
El_Jordo
Re: Hack request: Private message sorting
  • 2003/9/5 2:51

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


Perfect! Next time you come up north, I'll buy you a drink.



50
El_Jordo
Re: Hack request: Private message sorting
  • 2003/9/3 23:47

  • El_Jordo

  • Just popping in

  • Posts: 64

  • Since: 2003/4/23


Small problem: When I click on the links to view a private message, I get the wrong message. It seems the message names are sorted right, but the links aren't. Any suggestions?




TopTop
« 1 2 3 4 (5) 6 »



Login

Who's Online

207 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 207


more...

Donat-O-Meter

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

Latest GitHub Commits