Not logged in. · Lost password · Register
Page:  1  2  3 ... 20  21  22  next 

All posts by jense (327)

topic: Watch categories  in the forum: Support Ideas and suggestions
jense #1
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Quote by Yves:
[...] but you cannot use a category as a "recursion root" because the UI (the templates structure) doesn't provide simple means of adding a switch for it. It's grown too complex... :-(
Hm, so it does not make any sense that I have a look at it (if I had too much time)? – or – The backend is ready?
Alala, Alala, Gimme three wishes - CSS
topic: Watch categories  in the forum: Support Ideas and suggestions
jense #2
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10626
Quote by Yves on 2010-05-16, 12:20:
Forum notifications are now (in the next release) forum-recursive, ie you get notifications for all subforums of a forum or category.
Hm...? Me, Forest and trees? ;)
Alala, Alala, Gimme three wishes - CSS
topic: Watch categories  in the forum: Support Ideas and suggestions
jense #3
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10626
Yay! :)

Hm, how do recursive notifications for a category work if they cannot be set?
Alala, Alala, Gimme three wishes - CSS
topic: Cannot create posts in fresh install?  in the forum: Support Bug reports and troubleshooting
jense #4
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10623
Quote by Yves:
That would be the quick and dirty way.
... and predictable... — this shouldn’t be configurable!
Alala, Alala, Gimme three wishes - CSS
topic: Problems with php upgrade to 5.3.1  in the forum: Support Bug reports and troubleshooting
jense #5
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10617
post.js und posteditor.js werden nicht geladen. Schau mal im access.log nach, ob es überhaupt angefragt wird... Eventuell hilft auch firebug, um herauszufinden, welche Dateien hinzugeladen wurden.
Alala, Alala, Gimme three wishes - CSS
topic: Simple example for session.prelogin and session.newuser?  in the forum: Customising UNB Modifications and plug-ins
jense #6
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10619
Take this as a start:
  1.                 // Set new User
  2.                 $name = trim($_POST['LoginName']);
  3.                 if (!isset($_POST['LoginName']))
  4.                         // ...
  5.                 elseif ($name != '')
  6.                 {
  7.                         $user = new IUser;
  8. // TODO v
  9.                         $userid = $user->FindByName($name);
  10.                         if (!$userid)
  11.                         {
  12.                                 // check name, look up password, email
  13.                                 $user->Add($name, $password, $email);
  14.                                 $userid = $user->FindByName($name);
  15.                         }
  16. // TODO ^
  17.                         if ($userid/* already done: = $user->FindByName($name)*/)
  18.                         {
  19.                                 // ...
NO guaranty that it works at all, though...
Alala, Alala, Gimme three wishes - CSS
topic: Simple example for session.prelogin and session.newuser?  in the forum: Customising UNB Modifications and plug-ins
jense #7
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10618
Quote by Pompei2:
Sounds like you have already done this, do you have any more hints to me or might you show me some sourcecode?
I’m sorry, I just know where to look: the relevant place in forum.php is after the comment 'Set new User' or more precisely around if ($userid = $user->FindByName($name)). The details of the user registration can be found in register.inc.php, something along the line $user->Add($name, $password, $email). The IUser class is defined in user.lib.php.
How hard is it?
Hard to say. Easy for PHP and UNB experts, I’d guess... ;)

I’d expect a few lines of code and some testing.
Alala, Alala, Gimme three wishes - CSS
topic: Simple example for session.prelogin and session.newuser?  in the forum: Customising UNB Modifications and plug-ins
jense #8
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10611
It won’t work: session.prelogin and session.newuser only help if the user is already logged in somewhere else on your server.

You have to modify the setuser case in the switch statement in forum.php – the hard way: no hooks available...
Alala, Alala, Gimme three wishes - CSS
topic: Cannot create posts in fresh install?  in the forum: Support Bug reports and troubleshooting
jense #9
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10612
Quote by Yves:
That looks interesting. Although I wasn't aware that I'd be using $_REQUEST for stuff that I know of it's in a cookie, but I'll look into it again.
The safe way is to regenerate $_REQUEST from $_GET, $_POST and $_COOKIE in common.lib.php (right after the gpc clean up). It has always been configurable and this really sucks in PHP...
Alala, Alala, Gimme three wishes - CSS
topic: Deleting posts is denied if answering is not allowed  in the forum: Support Bug reports and troubleshooting
jense #10
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10587
Just for completeness the ACLs:
Gruppe Nachrichten
Forum Nachrichten    Neue Themen anlegen ¹     erlauben     

Gruppe Mitglieder
Forum Nachrichten      Beiträge schreiben ¹      verbieten       
    Neue Themen anlegen ¹     verbieten
... and editing and removing is denied.

If I add
Gruppe Nachrichten
Forum Nachrichten     Beiträge schreiben ¹     erlauben
... editing and removing *is* allowed.
Alala, Alala, Gimme three wishes - CSS
topic: Deleting posts is denied if answering is not allowed  in the forum: Support Bug reports and troubleshooting
jense #11
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10586
Hm, I think it’s a bug: if I allow answering to posts, editing and removing is enabled. So, global moderators are allowed to edit and to remove posts if and only if they are allowed to answer to this post. I cannot see a feature in this...  :huh:
Alala, Alala, Gimme three wishes - CSS
topic: Deleting posts is denied if answering is not allowed  in the forum: Support Bug reports and troubleshooting
jense #12
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Subject: Deleting posts is denied if answering is not allowed
I have a subforum (a news ticker), where members can open topics but must not answer to these. So I allowed 'create topic' and denied 'write posts', which works. However, global moderators are not able to delete posts anymore.

I checked the source and found that deleting posts only works in combination with write access, which does not necessarily makes sense... at least AFAICT, so: is it a bug or a feature?
Alala, Alala, Gimme three wishes - CSS
topic: Watch categories  in the forum: Support Ideas and suggestions
jense #13
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10579
What is the difference to forums then? It's already possible to subscribe to complete forums with subforums and topics included without double notifications (at least, AFAICS)...
Alala, Alala, Gimme three wishes - CSS
topic: Watch categories  in the forum: Support Ideas and suggestions
jense #14
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Subject: Watch categories
Hi Yves,

is it possible to extend the 'watch topics' function to categories (in a simple way, i.e. can I just add this to the options menu – in theory they are just forums, aren't they?)

Cheers, jense
Alala, Alala, Gimme three wishes - CSS
topic: global source code variables?  in the forum: Customising UNB Modifications and plug-ins
jense #15
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10471
  • more or less common: 'head*' and 'foot*'
  • control panel: 'controlpanel*', 'userprofile*'
  • main: 'forumlist*'
  • post: 'posteditor*'
  • register: 'register*'
  • search: 'search*' (apart from 'searchForumTextBox': (also) main, thread)
  • stat: 'stat*'
  • thread: 'threadSplit*'
  • users: 'userlist*'

  • main, search, thread: 'announcelist*'
  • search, thread: 'postlist*' (apart from 'postlist', 'postlistSimple': (also) post)
  • main, search, stat: 'threadlist*'

Down to 30 items...
Alala, Alala, Gimme three wishes - CSS
The author has attached one file to this post:
template-variables-todo.list 416 Bytes
You have no permission to open this file.
Close Smaller – Larger + Reply to this post:
Special characters:
Page:  1  2  3 ... 20  21  22  next 
Special queries
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 303.9 ms (254.5 ms) · 154 database queries in 177.4 ms
Current time: 2013-05-22, 04:19:55 (UTC +02:00)