[pmwiki-users] vBulletin 3.5 user system integration

Tim Ahrentlov ta at ateist.org
Fri Jan 20 08:56:06 CST 2006


Hi All,

I'm about to launch a site featuring both vBulletin 3.53 and PMWIKI. The
community however, has decided that we don't want double user administration
and since VB has waaaay the upper hand in this regard I've prepared a little
VB script that will do the following:

1. Find out if the user is currently logged into VB.
2. Return username from VB.
3. Return a link to the member profile page in VB.
4. Find out if user is privileged (admin, super moderator, moderator) 5.
Find out if user is trusted (member of a "wiki" group or the like) 6. Find
out if user is denied (banned, unapproved, and so on)

---

What I want to do in regard to PMWIKI is the following:

1. Only allow the editing of pages if the person logged-in in VB and
privileged/trusted. I can use the IP blocking script as a basis for this, so
that's ok.

2. Disallow that trusted and privileged editing pages can write a name when
editing a page. Instead it should always use the VB username with a link to
the VB profile page.

3. Make WIKI administrators to be VB privileged users only. No need to
remember other passwords etc.

4. Us the VB forum to discuss pages. No need to reinvent the wheel.

---

So what would be nice to have in the WIKI system is the following:

A. A username/user-page-link variable that could be set in the config file
that - once set - override any built in requests for usernames. And of
course sets the link.

B. An IsPrivileged variable that can be set in the config file if the user
browsing is deemed privileged on an admin level and there's no need to deny
him any requests from now on:)

C. Have a discuss variable that can be set to an URL, and that once set,
will show up with the "View", "Edit", "History", etc. links on each page.

Is there anything like the A-C in place for me to tag into already? No? Then
can anyone kindly give me some hints as to where this should be implemented
and with the least number of lines (perhaps some cookbook recipe that I
missed) so that the multiple upgrades don't become a pain? :) 

And if it is not in place already, may I suggest that pmwiki gets this kind
of "interface" as a part of its standard files?

This modification would be perfect for wiki topics that calls for ...ehhm...
"big feelings" :) In topics like politics, religion, sexual orientation,
etc. - things can become a bit to "hot" for people to behave. With the VB
user system as the pmwiki user system, the VB's admin appointed (wiki) group
leader can grant/revoke group membership to forum users that all have a
validated email and IP. Grant "wiki" group membership and the VB user can
edit pages. Revoke/deny group membership and the group member cant edit
anything. One could perhaps even make a vb group pr. pmwiki action:
WikiEdit, WikiDelete, etc and toggle people on and off manually or even let
VB do it automatically based on number of posts and so on. Skies the limit
:) 

Needless to say, to tag into the VB user base could really put pmwiki on the
map. If we get something good going here I will try to put it on
vbulletin.org when I've released and I feel it's solid ;)

Thanks
Tim







More information about the pmwiki-users mailing list