11
perhol
Re: desperately need help tracking and banning trolls.
  • 2004/5/5 0:13

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


An interesting feature for comments and forum posts would be if privileges to include images could be set on group level. Of course it's a hazzle to go throug another step to give good users full functionality of the site.

Another very effective way to ban users based on IP is to set up firewall rules to drop everything from specific IP:s. Some "humans" are easy fooled that the website is down.



12
perhol
Re: Selecting theme on command line
  • 2004/3/19 14:54

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


It would be cool! Another platform/browser independent approach could be if the browser flagged that it wanted the page presented in a certain way, maybe in the referer string.



13
perhol
Re: Selecting theme on command line
  • 2004/3/18 21:43

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


Nothing's wrong with the theme selection block. -As long as you can see it and know how to use it...

I want users to be able to set their browser start page to my xoops-site with the theme of their choice. The targeted group for this high-contrast-theme is elderly people that I hope will be frequent visitors to my site.



14
perhol
Re: Selecting theme on command line
  • 2004/3/18 20:57

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


I know what you're saying. I'm aware of the upgrade issues but this functionality is vital to my application. The background is that i want to be able to load a high contrast theme that people with bad vision can use as their default theme. I'm pretty sure this functionality could be useful also to others.

Thanks for your advice.



15
perhol
Re: Selecting theme on command line
  • 2004/3/18 20:41

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


I don't know if this is good "xoops-practice" but I solved it by adding the following code to header.php after the line: include_once XOOPS_ROOT_PATH.'/class/xoopsblock.php';


Quote:

if (!empty($HTTP_GET_VARS['theme'])) {
$xoopsConfig['theme_set'] = $HTTP_GET_VARS['theme'];
$HTTP_SESSION_VARS['xoopsUserTheme'] = $HTTP_GET_VARS['theme'];
}



16
perhol
Selecting theme on command line
  • 2004/3/18 11:53

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


This may be stupid question so I'm hoping for a simple stupid answer.

Is there a way to load a theme on the command line like;

http://xxx.yyy.zzz?theme=nameoftheme

This way a user can bookmark the site with his favourite theme.



17
perhol
Re: Problem with Swedish RSS feed
  • 2004/2/11 1:24

  • perhol

  • Just popping in

  • Posts: 22

  • Since: 2004/2/11


One problem with RSS feeds is that very few seems to follow a standard. In Sweden we have two major evening newspapers with different feeds on their web sites. One of these papers, Expressen, has this feed:http://expressen.se/expressen/jsp/xml.jsp?page=10 It doesn't look like a standard RSS-feed, but very similar. Is there anybody that knows if it's possible to make this work in the headlines module?

/Per




TopTop
« 1 (2)



Login

Who's Online

231 user(s) are online (158 user(s) are browsing Support Forums)


Members: 0


Guests: 231


more...

Donat-O-Meter

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

Latest GitHub Commits