Author |
Message |
rrclansite
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 18, 2011
Posts: 86
|
Posted:
Wed Dec 07, 2011 1:08 pm |
|
Hello all,
I'm currently working on a new website. My first ever Raven's PHP-Nuke website was all configured by hand including the forum titles etc. However, I'm a bit fed up with having to manually add titles to people on the forums.
(I mean the newby title which is shown by default / site admin for the god account)
I was wondering if there is any way to make this group related. I managed to set forum permissions to groups so that I don't have to give them permissions for the forums by hand, but titles would be a sweet add aswell.
Hope that some1 can point me in the right direction
best regards,
actnreactgaming / rrclansite |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sat Dec 10, 2011 10:14 am |
|
Forum user titles (really called "ranks") are really based upon user's post counts. So, as you post more, your title changes as the post count crosses the threshold. This is standard phpBB2 function, so one would have to change the code around the display of the user's "rank". |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rrclansite
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 10, 2011 10:20 am |
|
I'm not sure if I'm completely comprehending what you are writing. Would you suggest changing a bit of the source code of the phpbb forums to adapt it so that whenever a person is put in a group in combination with having (lets say) at least 1 post they get the rank which you have desired to be?
Sounds like a lot of work to change such a line of code.
The problem I'm having (thats just personal preference I sppose) is that I do not want anyone to have the rank of member by post count. Lets say I would have a member which would want the member title (but I'm not willing to go over the hassle of having to change the users title all the time) but they do not have enough posts. Another user on my website has more posts than my member whilst this other user is not a member of our website. That person mentioned above would then be acquiring the member status through post count.
See my dilemma?
Hope this clarifies one or another and that you (or someone else) can come up with a solution, because I'm not seeing it
best regards,
actnreactgaming / rrclansite |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Dec 10, 2011 11:33 am |
|
Since no script can anticipate your needs, you have no option but to do this manually unless you can figure out a specific set of fixed rules that a script can work from. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rrclansite
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 10, 2011 12:08 pm |
|
rules:
- Only members in the group called Clan Members can have the rank Clan-Member
- minimum amount of posts for the rank Clan-Member is going to be set to 1
I do not know if this is possible to translate into PHP scripting.
best regards,
actnreactgaming / rrclansite |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/181553f049aa2a5924cda.jpg)
Joined: Jun 06, 2005
Posts: 732
|
Posted:
Sun Dec 11, 2011 2:12 am |
|
It seems to me, one way, or another, you have to do something manually. Either change user rank, or execute a script to change it. Unless you are changing the rank of many users at one time, it seems easier to just do it manually via the ACP. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rrclansite
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Dec 11, 2011 8:41 am |
|
yes I will be changing the rank of many users at one time. Also whenever I remove them from a certain group, they get fewer permissions (because they are no longer a member or something in the like). That also means they would no longer be having the rank of Clan-Member, because either they left the clan or we kicked them out.
So for the time being I'm still in search for a possible solution.
best regards,
actnreactgaming / rrclansite |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 17, 2011 6:47 am |
|
rrclansite wrote: | So for the time being I'm still in search for a possible solution. |
What you are searching for is not a simple configuration change or few line coding solution. This is more custom than that.
You will need need to add code around the group edit / assignment function(s) to cover the events where you add/remove members from a particular group.
Then you will also need to change the rank display code to check for the member's group and associated rank text. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rrclansite
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 17, 2011 2:39 pm |
|
well as I'm totally clueless on how to write any PHP script (at most I can debug it for certain special characters missing) I wouldn't know where to begin.
Anyone care to take a crack at it?
best regards,
rrclansite / actnreactgaming |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Sat Dec 17, 2011 3:19 pm |
|
If you truly want to develop a cms of be able to modify code for a cms, you should start to learn php. There are many free sources on the internet that can help you learn to use php. What I did to learn php is to start playing around on a local server like xampp. If I boogered it up super bad (which I did many times), I just started over and did it again until i understood what my mistakes were. There are many answers to question you may have in these very forums. You could start by reading things like:
http://php.net/manual/en/tutorial.php
http://www.developphp.com/list_php.php
http://www.w3schools.com/php/
There are many more examples just by using google. My advise would be start simple and dream big. Start with simple examples of php and move towards using mysql querys in you scripts. If it is something you enjoy, it will become increasingly easier. Just don't give up and don't be afraid to use cheat sheets.... |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rrclansite
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Dec 18, 2011 9:52 am |
|
I might do that once I get myself a more solid lifestyle
I'm currently still studying, thus I'm not living on my own etc etc. I currently do not have the time to learn PHP (something which I would like to in the future if I have some more time on my hands in a more stable lifestyle)
for the moment I will stick to whatever is possible to be provided by others and perhaps making some video tutorials for the other people out there who are having problems with understanding how to roll this wonderfull CMS.
best regards,
rrclansite / actnreactgaming |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|