61
gravies
Re:RSSFit and newbb2 - privacy ignored.
  • 2004/10/4 21:24

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Thanks Predator - sorry to burden you further

I added a nasty hack for my own site where I only have 1 private forum. This also prevents display of topics with ANY karma rating.

Quote:

while( $row = $xoopsDB->fetchArray($result) ){
if ( $row['forum_id'] == 14 ) { #NASTY HACK!!!
continue;
}
$sql = 'SELECT post_karma FROM '.$xoopsDB->prefix('bb_posts').' WHERE post_id = '.$row['topic_last_post_id'];
list($karma) = $xoopsDB->fetchRow($xoopsDB->query($sql))
if ($karma) {
continue;
}



I couldn't find the permissions flag in the SQL for the forums - but this works for now.



62
gravies
Re: RSSFit and newbb2 - privacy ignored.
  • 2004/10/4 20:28

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I think you talking about the RSS feed built into newbb2?

I am using RSSFit to send RSS from newbb2, news, mylinks and wf-sections. RSSFit has plugins for different modules - for newbb it is rssfit.newbb.php - which looks to be written by people at Brandycoke Productions. Their forum doesn't look very active so I posted here.

I would switch to the rss feed from newbb2 but I like having everything in one place.

I will look through the newbb plugin and see if there is a simple fix.

Cheers



63
gravies
RSSFit and newbb2 - privacy ignored.
  • 2004/10/4 18:35

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


RSSFit ignores the group settings for newbb2 private forums.

I know newbb2 hasn't been released yet (RC2 today) but has anyone looked into fixing this? I don't want my RSS readers seeing private forum information.

Thanks...



64
gravies
Variables from different modules in templates?
  • 2004/10/4 0:52

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


How do I use a variable from one module in a template from another module?

I want to put the total number of users (from Members -<{$lang_totalusers}>) at the bottom of the New Members Block (System). If I just add the <{$lang_totalusers}> in the template it shows nothing. After a search I tried:

<?php
global $lang_totalusers;
echo "$lang_totalusers";
?>

in the template, but that gave nothing. Can you point me to the docs for this - of course they have all changed today



65
gravies
Re: Importing Geeklog stories and users to XOOPS
  • 2004/9/16 19:22

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I just did this yesterday... I have a couple of scripts that I hacked from other posts. I have one for stories, links, and users. The topics in geeklog are a bit of a pest though as the SQL has the names and not an ID. I can send you what I have if you like.



66
gravies
Re: Set permissions for replies in newbb
  • 2004/9/13 17:56

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


On a related issue it seems that in newbb Beta 4 you can select a Reply requirement to a New Topic... so people have to reply to something they cannot read before they can read it! I'm sure this will be reported as a bug soon...

However, despite this I just realized that the Reply requirement does actually go a long way to my Group permissions. If a particular Group cannot post to a forum then they will not be able to read certain posts as they cannot reply. So this might work.

Sorry for double post!



67
gravies
Re: Set permissions for replies in newbb
  • 2004/9/13 17:50

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


Yes, the Karma feature looks very nice, especially for sites like this where you know little about your users except what they post / how often they login etc. There is also a new "Require Reply" feature that might fit my needs.

I would still like to see an extra "Group" in the View Requirements section.

I'll have a look at the code for the Require Reply and see how hard it would be to add.



68
gravies
Re: Safari unicode posts not working?
  • 2004/9/8 18:18

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I have tested the problem on 3 OS X machines here (1 Jaguar, 2 Panther 10.3.5 with all security updates etc). My machine is dual G5 with 1.5G RAM so unlikely to be that!

This is the same paste as my original post, now from Firefox 0.9.3 on the same machine:

欢迎 歡迎 υποδοχή 歓迎 환영 добро пожаловать

If you are running Safari could you do a test post with that... you can just use Preview if you don't want to post.

Thanks...



69
gravies
Safari unicode posts not working?
  • 2004/9/8 17:53

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


When I paste unicode characters into a XOOPS textarea with Safari the result is ????? after save or preview. The same paste in Firefox, on the same machine and same forum, works perfectly. However, Safari works fine with unicode when I paste into google and other textareas in other sites? Why should XOOPS be different? Is it the encoding / charset of the page?

Example paste:
?? ?? ??????? ?? ??

Sorry if this is a stupid question but I cannot find anything about it on google, apple or here!?



70
gravies
Set permissions for replies in newbb
  • 2004/9/4 16:06

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I would like to allow forum posters to be able to set group permissions for their reply. Why?

I post a topic in an open forum... later in the thread someone wants to post something that only registered users can see.

This is a mixed form of private and open where privacy is at the post level not the forum level.

I propose using the standard *NIX permissions for each reply so posters can see all their posts, anything posted by people in the same group as them.

Things needed off the top of my head:

A simple 'Make Private' button on the reply.php page
A new field in bb_posts to hold the private flag
A check in viewtopic against the flag, the user group and the poster group to display or not.

I hope someone has done this already but I cannot find it in any hack - may I'm not searching for the right keywords?

Thanks for you thoughts...




TopTop
« 1 ... 4 5 6 (7) 8 »



Login

Who's Online

213 user(s) are online (128 user(s) are browsing Support Forums)


Members: 0


Guests: 213


more...

Donat-O-Meter

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

Latest GitHub Commits