vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Add-On Modules & Modifications

 
 
Thread Tools Display Modes
  #1  
Old 07-01-2004, 06:32 AM
Delirion Delirion is offline
Junior Member
 
Join Date: Jun 2004
Posts: 2
Default Modules displayed by user choice?

Is there some way to hack the code so that the users can chose which modules they want to have displayed on their homepage? I've installed a bunch of modules and my users all seem to be divided about which ones are useful to them and which aren't. To display all of them would clutter up the homepage - I know I can set what usergroup can see what modules, but can't there be a hack that the users can freely chose which modules they would like to have displayed and which ones they don't want?
  #2  
Old 07-01-2004, 01:26 PM
attroll's Avatar
attroll attroll is offline
Senior Member
 
Join Date: Jan 2004
Posts: 818
Default Re: Modules displayed by user choice?

That would be a cool idea, having the user pick which module they want to display.
  #3  
Old 07-07-2004, 11:48 AM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Default Re: Modules displayed by user choice?

definetly a nice idea
__________________
God180.com <---------------------My heavily modified vBulletin board
  #4  
Old 07-07-2004, 04:48 PM
nexia nexia is offline
Member
 
Join Date: May 2004
Posts: 76
Default Re: Modules displayed by user choice?

this can be done easily... just take the admin part where you set the display of modules, create a special storage place in the db for each member pref, and usercp to access the admin part just named... when a user with proper permissions modify the display, it is saved in his own... if the user reset, the saved pref is deleted.

and in the portal construction, simply switch between board prefs and user pref...

also, to disable a block, instead of a switch, using the "0" as a display order would disable the block for the user's view...

i think it browse the entire need for this hack... someone for the job ?!
  #5  
Old 07-08-2004, 08:57 AM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Default Re: Modules displayed by user choice?

sounds complex, but i'm glad is something that someone can do.. hope someone with more php experience than me can accomplish this
__________________
God180.com <---------------------My heavily modified vBulletin board
  #6  
Old 07-08-2004, 11:06 AM
Milorad Milorad is offline
Member
 
Join Date: May 2004
Posts: 80
Default Re: Modules displayed by user choice?

you can do this yourself using User Profile fields, and basic conditionals.
  #7  
Old 07-08-2004, 11:17 AM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Default Re: Modules displayed by user choice?

mm......yeah, i think i'm grasping the idea and the method that could be used... anyone else has any more ideas?
__________________
God180.com <---------------------My heavily modified vBulletin board
  #8  
Old 07-13-2004, 07:00 PM
Delirion Delirion is offline
Junior Member
 
Join Date: Jun 2004
Posts: 2
Default Re: Modules displayed by user choice?

Okay, makes sense.... but I wouldn't know where to begin coding it myself. Hence I asked :P
  #9  
Old 07-13-2004, 07:14 PM
Milorad Milorad is offline
Member
 
Join Date: May 2004
Posts: 80
Default Re: Modules displayed by user choice?

well here it is... its really all template-based, IMO.

If you create a custom user profile field called fieldX, and set it so you can choose Yes or No as the two options (with a title describing the module in question)... then you can just do the following in the template your module is based on:

Code:
<if condition="$bbuserinfo[fieldX] =='Yes'">

    Module template code

</if>

You could even replace that content with something else, by doing this:


Code:
<if condition="$bbuserinfo[fieldX] =='Yes'">

    Module template code

<else />

    Totally different module code

</if>
  #10  
Old 07-21-2004, 05:14 PM
zokucivic zokucivic is offline
Junior Member
 
Join Date: Jul 2004
Posts: 1
Default Re: Modules displayed by user choice?

Has anyone tested this... Sounds like it would work.
  #11  
Old 07-21-2004, 07:11 PM
Polo's Avatar
Polo Polo is offline
Senior Member
 
Join Date: Jun 2004
Posts: 823
Default Re: Modules displayed by user choice?

I'm pretty sure it works, but it will require some work on your side to set everything up......
__________________
God180.com <---------------------My heavily modified vBulletin board
  #12  
Old 09-21-2004, 02:55 PM
djnth djnth is offline
Member
 
Join Date: Aug 2004
Posts: 51
Default Re: Modules displayed by user choice?

Did anyone get this working? I would love to see a working version of this. Seems like such a great feature to have.

djnth
  #13  
Old 09-21-2004, 04:03 PM
58sniper 58sniper is offline
Member
 
Join Date: Apr 2004
Posts: 80
Default Re: Modules displayed by user choice?

Search is your friend. This method works fine.
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Active modules not showing contramontanum Troubleshooting / "How do I..." Questions 3 06-21-2004 01:43 PM
10+ Modules Bug maximux1 Troubleshooting / "How do I..." Questions 3 05-30-2004 11:04 PM
User customizable CMPS page ogetbilo Feedback & Suggestions 1 05-20-2004 12:04 PM


All times are GMT -4. The time now is 02:51 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.