PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
rrclansite
Regular
Regular


Joined: Jan 18, 2011
Posts: 78

PostPosted: Wed Dec 07, 2011 1:08 pm Reply with quote Back to top

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
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Sat Dec 10, 2011 10:14 am Reply with quote Back to top

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".
View user's profile Send private message Visit poster's website
rrclansite
Regular
Regular


Joined: Jan 18, 2011
Posts: 78

PostPosted: Sat Dec 10, 2011 10:20 am Reply with quote Back to top

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 Smile

best regards,
actnreactgaming / rrclansite
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sat Dec 10, 2011 11:33 am Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
rrclansite
Regular
Regular


Joined: Jan 18, 2011
Posts: 78

PostPosted: Sat Dec 10, 2011 12:08 pm Reply with quote Back to top

rules:


  1. Only members in the group called Clan Members can have the rank Clan-Member
  2. 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
View user's profile Send private message
Doulos
Life Cycles Becoming CPU Cycles


Joined: Jun 06, 2005
Posts: 545

PostPosted: Sun Dec 11, 2011 2:12 am Reply with quote Back to top

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.
View user's profile Send private message
rrclansite
Regular
Regular


Joined: Jan 18, 2011
Posts: 78

PostPosted: Sun Dec 11, 2011 8:41 am Reply with quote Back to top

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
View user's profile Send private message
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Sat Dec 17, 2011 6:47 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website
rrclansite
Regular
Regular


Joined: Jan 18, 2011
Posts: 78

PostPosted: Sat Dec 17, 2011 2:39 pm Reply with quote Back to top

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
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Sat Dec 17, 2011 3:19 pm Reply with quote Back to top

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:
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!
Only registered users can see links on this board!
Get registered or login to the forums!


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....
View user's profile Send private message Send e-mail Visit poster's website
rrclansite
Regular
Regular


Joined: Jan 18, 2011
Posts: 78

PostPosted: Sun Dec 18, 2011 9:52 am Reply with quote Back to top

I might do that once I get myself a more solid lifestyle Wink

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
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum