![]() |
|
Thread Tools |
#1
|
||||
|
||||
whats wrong with my if subscribed condition
whats wrong with this its not working =/
ive looked it over 10+ times
trying to use it on forumbit lvl 2 post
__________________
If you need custom work done please use Dirt RIF CustUmz Owner of vBTeam vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11. No members have liked this post.
|
#2
|
||||
|
||||
The single forward slash on the else doesn't appear correct.
In php a single forward slash is a division operator. No members have liked this post.
|
#3
|
||||
|
||||
Thats how if else statements work in vb3
<if condition="something"> do something <else /> do something else </if> The following members like this post: Dr.CustUmz
|
#4
|
|||
|
|||
Looks fine to me. Are you sure those $show array keys are usable in the forumbit templates?
The following members like this post: Dr.CustUmz
|
#5
|
||||||||||||||||
|
||||||||||||||||
is in the template by default, even without the member condition it still doesn't function =/ and i haven't found an option for subscriptions anywhere... i may have overlooked it --------------- Added 06 Apr 2016 at 18:34 --------------- after searching a crap ton of different things, i finally came across this http://tracker.vbulletin.com/browse/VBIV-8931
no it wasnt issued as a bug for vb3 but I said ok ill give it a shot since it was exactly my issue so i first double checked my code in forumbit lvl 1 & lvl 2 post (since thats where the if condition im trying to get to work is) I open up functions forumlist.php quick search for
change the line to
and presto it now works =) so this is an issue that needs to be addressed in an update i take it, since i am on the latest vb3 and this problem is still here. why have a default template conditional if the code doesnt even function properly... --------------- Added 06 Apr 2016 at 18:50 --------------- looking into it further, this only fixed forumdisplay. forumhome still is not functioning properly, this has also caused other issues that may or may not be my template messing it up lol. but the default code in lvl1 & lvl 2 post i have not yet found any other way to make it actually show the unsubscribe if subscribed. --------------- Added 06 Apr 2016 at 19:36 --------------- ok the other errors were in my templates, but the fix for this only applies to forumdisplay, im going through files now to see i can get it to work on forumhome. ....its supposed to, by default... so it shouldnt be too hard... right? its just bugging me now lol
__________________
If you need custom work done please use Dirt RIF CustUmz Owner of vBTeam vBulletin 3.8.14 DRC Edition PHP 7.4 Compatible- NOT a null, NOT complete files Requires a legit copy of vBulletin 3.8.11. The following members like this post: MarkFL
|
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Subscribed Threads, Subscribed Forums, and Event Reminders | calorie | vBulletin 3.6 Add-ons | 7 | 30 Aug 2011 14:39 |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 11:39.