Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Add-Ons & Blocks ⇒ Multirank module w/ forumspro??


Multirank module w/ forumspro??
Need help creating a block or add-on, or you have created or modified a block/add-on that works in Dragonfly CMS and it meets the CPG Security Requirements? Do you have feedback about a specific add-on? Here is the place to post. Read the announcements here first!.
Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Add-Ons & Blocks

View previous topic :: View next topic  
Author Message
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sun Aug 12, 2007 1:02 am
Post subject: Multirank module w/ forumspro??

Hey Big grin

Has anyone gotten the Multiranks module to work in forumspro??
I tried but since I'm not that good at editing files unless someone tells me what to do, I haven't gotten it to work.

I would appreciate it if someone who has gotten it to work could attach the file or tell me what to modify.

Thx,
Heckler Cool

P.s - HOOAH the "edit" button is back Very Happy

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Fri Aug 17, 2007 9:42 pm
Post subject: Re: Multirank module w/ forumspro??

I didn't include the files but instead the instructions.
I am using:
Dragonfly 9.1.2.1
ForumsPro 1.0.0.3

PHP 4.3.8
MySQL 4.0.21

In Action: www.sanctidamnatus.com...um&f=2
Give it a try and let me know how it goes.

The two systems are VERY similar. I added the custom titles below the online status. You can move it around in the template to wherever you want.


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)


Last edited by Bedevere on Sun Aug 19, 2007 8:21 am; edited 4 times in total
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Fri Aug 17, 2007 9:44 pm
Post subject: Re: Multirank module w/ forumspro??

Dragonfly 9.1.2.1
ForumsPro 2.0.0.1

PHP 4.3.8
MySQL 4.0.21


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)


Last edited by Bedevere on Sun Aug 19, 2007 8:21 am; edited 4 times in total
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sat Aug 18, 2007 4:56 am
Post subject: Re: Multirank module w/ forumspro??

Thanks a lot Very Happy Already edited the files and uploaded, but the only problem is that when I try to access the forums I get this error:

Quote::
Fatal error: Cannot redeclare make_jumpbox() (previously declared in /home/nitrohuc/public_html/test911/includes/ForumsPro/functions.php:23) in /home/nitrohuc/public_html/test911/includes/phpBB/functions.php on line 19

Also when I try to change the second, third, fourth or fifth rank of a member I get DB errors Sad

Any Idea whats wrong??
Thx,
Heckler Cool

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Sat Aug 18, 2007 5:22 am
Post subject: Re: Multirank module w/ forumspro??

The jumpbox is that pop up on the bottom...I had a huge error with mine and forget how I fixed it.

BTW if you go back to the original files from the download and put them back do the forums work ok?


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sat Aug 18, 2007 5:48 am
Post subject: Re: Multirank module w/ forumspro??

Nope Sad I tried to get the multiranks work with forumspro 2.0.0.1 too based on your code but in 2.0.0.1 there is no viewtopic_body.html and it's built up differently.

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Sat Aug 18, 2007 6:11 am
Post subject: Re: Multirank module w/ forumspro??

Instead of
Code::
ALTER TABLE cms_users ADD user_rank2 INT(11) DEFAULT '-2' AFTER user_rank;
ALTER TABLE cms_users ADD user_rank3 INT(11) DEFAULT '-2' AFTER user_rank2;
ALTER TABLE cms_users ADD user_rank4 INT(11) DEFAULT '-2' AFTER user_rank3;
ALTER TABLE cms_users ADD user_rank5 INT(11) DEFAULT '-2' AFTER user_rank4;
could you make use of the already existing admin -> users -> users fields to add them?

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Sat Aug 18, 2007 6:59 pm
Post subject: Re: Multirank module w/ forumspro??

Yes if you know the names and you want to to let the user themselves edit them.

In fact on a guild site since they played different games I used the custom fields that user can fill in to show their game names (go to oi-guild.com/Forums.html and look at each person's avatar section) as well as the multiranks.


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Sat Aug 18, 2007 7:00 pm
Post subject: Re: Multirank module w/ forumspro??

By the way I am working on a mod to give ranks based upon group memberships.


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Sat Aug 18, 2007 8:33 pm
Post subject: Re: Multirank module w/ forumspro??

Ok Heckler I got it working. See download above...

The jumpbox issue is because in V 2 I think its a function and V 1 its an include.

In any case go back to V2 defualt files, and you will only need to edit the ForumsPro files. If you can already edit the ranks in the users Profile then skip the Your_account part and the MYSQL parts. They are still the same.


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)


Last edited by Bedevere on Sun Aug 19, 2007 8:20 am; edited 1 time in total
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sat Aug 18, 2007 9:36 pm
Post subject: Re: Multirank module w/ forumspro??

Thanks a lot man Very Happy Really appreciate your help, and I'm looking forward to use it Smile

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sat Aug 18, 2007 10:00 pm
Post subject: Re: Multirank module w/ forumspro??

Works like a charm, easy tutorial, damn your a genius Very Happy HOOAH Very Happy

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sat Aug 18, 2007 10:39 pm
Post subject: Re: Multirank module w/ forumspro??

One thing I don't get thou is how to do this:

# NOTE: If your user SQL table name is NOT cms_users then modify the sql string to match!
#
#-----[ SQL ]------------------------------------------
ALTER TABLE cms_users ADD user_rank2 INT(11) DEFAULT '-2' AFTER user_rank;
ALTER TABLE cms_users ADD user_rank3 INT(11) DEFAULT '-2' AFTER user_rank2;
ALTER TABLE cms_users ADD user_rank4 INT(11) DEFAULT '-2' AFTER user_rank3;
ALTER TABLE cms_users ADD user_rank5 INT(11) DEFAULT '-2' AFTER user_rank4;

ON my other site the table name is nuke_

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Heckler
Heavy poster
Heavy poster

Offline Offline
Joined: Apr 22, 2007
Posts: 299
Location: California
PostPosted: Sat Aug 18, 2007 11:38 pm
Post subject: Re: Multirank module w/ forumspro??

NVM GOT IT Smile THX AGAIN Bedevere Very Happy

_________________
Phone Rumors | My Solution Manuals | My Online Money Guide | Premium WordPress Themes

Heckler's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / 1.3.37 (Unix) / 4.1.21-standard / 4.4.6 / 9.2.1
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger
Bedevere
Nice poster
Nice poster

Offline Offline
Joined: Jul 06, 2006
Posts: 83
Location: New York City
PostPosted: Sun Aug 19, 2007 5:29 am
Post subject: Re: Multirank module w/ forumspro??

Actually an easy way would be to save the SQL commands to a text file and import them in Admin -> Database.


Bedevere's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Add-Ons & Blocks
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


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
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

Läs mer...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy