![]() |
Quote:
|
In the next version, I may just remove the conditional statement for field 5, although some use that for a checkbox to turn it on/off.
For the profile fields themselves, do you all use categories, or random fields? |
Hi,
Thanks for this great mod. I have one question how do I get just those profile fields that are filled in by the users to be displayed and those that are empty to be left out of the drop down list? Right now I see this in both the manual and automatic configuration. In your example link with the PC System Specifications you seem to have this working. Any help will be appreciated. |
Sounds like the IF statements aren't working for some reason. Check the manual one you've edited, and you should see if statements around each possible profile field.
|
Quote:
That was the problem. Just crious if it is possible to enable this in the automatic mode so that if the user field is left blank then it is not displayed? |
It already does that. Did you edit the Dropdown - Automated plugin to not do that?
|
Wired1...
Any way of preventing this mod from showing up in certain forums? I just installed a new mod (Articles) and really don't want it to show in the Comments postbit of this new mod. Thanks, in advance... |
Try throwing this conditional around the dropdown plugin that you use:
Code:
<if condition="$forum[forumid] != XX"> |
Quote:
Within the plugin, or the template? If template...which one? And what if there are multiple forums...separate by commas? |
As I stated, PLUGIN :) Yep, commas.
|
nope...doesn't work...
Any other ideas? |
Put it around the Dropdown Call template and it'll work, remove it from the plugin.
|
Quote:
I tried wrapping the code you gave me around the text in the Dropdown Call template. It'll work if there is only one forum listed...but the minute you add another forum, separated by a comma...it fails...giving you a parse error...a malformed conditional. Not being one who is that familiar with nested IF statements...it would seem the code you gave me to use doesn't work. I think I'll have to research nested IF statements. |
Meh, I had the syntax wrong. Here's the right way:
Code:
<if condition="$forum[forumid] != X or $forum[forumid] != Y"> |
Sorry...that's not working, either...
|
Finally got it to work by using this code:
Code:
<!-- post specs_menu --> |
Code:
<if condition="$forum[forumid] != '8'or $forum[forumid] != '56'"> |
Wired1...
Ended up using this code: Code:
<if condition="!in_array($forum['forumid'], array(8,56,58,59,60,61,62,63,64,65,66))"> |
Heh, knew there was a cleaner way, nice work!
|
If I don't want it under the name and above the avatar what do I edit to put it under the avatar?
|
Okay found the name of what it was calling itself in the postbit.. Got it moved..Woot. Oh and great mod condenses all the BS I wanted to put in the profile!
|
Small problem probably needs another if but not sure where or its something else I changed and screwed up. Okay so I got the manual profile dropdown working for everyone that have something filled out. Those that don't have anything filled out show a small thin bar where its suppose to go. How do I get it not to show up when nothing is filled out in their profile?
Also for some reason it doesn't show up when they send you a PM it just shows the small thin bar even tho they actually do have it filled out. If I take it out of the div class that I have it in and just have it sit there against the background it works fine and doesn't show any random stuff or mess anything up in both cases. Hopefully can understand this if you need photos let me know. http://onlinedegenerate.com/forum/sh...hp?t=103#specs If you go here and look at Coldsteel you'll see what I'm saying. Thanks. |
LOL From now on whenever I get stuck I'm going to post regardless of whatever the problem is cause I seem to figure it out eventually. Thanks anyways guys.
|
In otherwords you used the conditional like I have it as default, so that if a particular profile field doesn't exist, it doesn't make any part of the dropdown.
|
I installed it. But nothing shows up on my postbit. I looked in the postbit template, but don't see any calls to it. Possible other mod conflicting? Anything I should be looking for? And field 5 is filled in. Thanks
|
Do you have any other mods installed that do something to the postbit?
|
Which postbit template does it write too. All my postbits are default 3.8.3. I do use vbexperience.
|
The postbit template. Specifically, do any of them write to the same postbit hooks? You can check this out in the plugin area.
|
I'll take a look. I have it displaying, but it only displays the bar for banned users. It removes their avatar and puts the bar up. Could you tell me the code that goes into the postbit template, and I will add it manually. Thanks!!
|
Ok. Looks like its VBExperience that is causing the issue. As soon as I disable that plugin it works. It seems to want to put the bar in the same place as VBE, is there code I can put, lets say below the avatar to display the dropdown bar? Thanks
Update: I changed it to postbit_userinfo_right and its working now. |
One of the fields I want to add to the dropdown has multiple checkboxes and in the dropdown it is shown as the numbers "777." How can the dropdown to show the different checkbox fields chosen by the user?
|
Quote:
Regardless, multiple selection profile fields can't be accessed outside of the standard profile area. Limitation of forum softwae. |
Great MOD!
One thing.... the additional thead is not needed... no need for it to say Username's Profile Fields twice.... |
I know, but enough people requested it a while back. I'll probably remove it again in the next version which will automatically make as many pages / sets of fields as needed. It'll be DB driven though.
|
Thanks, for a great Mod.
In Automatic or Manual mode, I can only get fields 5 and 6 to display. I've checked my other mods, I don't see any that use postbit. I searched the plugin system, hook locations. |
How many fields do you have total?
|
If I look in the SQL database for table "userfield", I see 6 fields, labeled 1 --> 6.
The actual display order in user profile is: 4, 5, 6, 2, 1, 3 I'll try your manual edit feature. |
Wired1,
The manual edit mode worked great. Thanks again, for this outstanding Mod. :up: |
FYI you can see the number of profile fields right from the adminCP. You only saw two because as it says above:
Quote:
You're welcome :) Suggestions are always appreciated. |
Any chance of changing it to allow us to easily choose which profile fields are used. My first available to use is field18
|
All times are GMT. The time now is 02:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|