![]() |
Hi Logician,
Ya, last time I used to use notepad. But I've already no longer using notepad but using editplus instead. BTW, I'd like to take this opportunity to thanks you by keep giving support to me as whenever there's a need(s) and there's always a will from you . Anyway, I think my forum already gone case or maybe can said close shop soon. It had been almost a week, till now still can't even figure out any anythings.. Really in a lost! :hurt: |
Quote:
|
:banana: I can only dream of being so creative..
Outstanding hack. Thank You :banana: :banana: |
Greetings,
First of all, this is a wonderful hack and I love you to death for it, as it's very useful. I have one quick question for you: I'm trying to make it so that a certain message is displayed to a user if they do not have a custom title. In showthread.php, I believe this is a boolean named "$avatarenabled". How would I be able to make this message appear if they do not have an avatar enabled? I tried this: [[(!($avatarenabled))]] You do not have an avatar enabled. [[/(!($avatarenabled))]] But it simply threw up: [[(!(0))]] You do not have an avatar enabled. [[/(!(0))]] What stupid error am I making here? Any help would be greatly appreciated. Once again, thank you very much! |
Try this:
[[(!$avatarenabled)]] You do not have an avatar enabled. [[/(!$avatarenabled)]] |
Quote:
You do not have an avatar enabled. [[/(!$avatarenabled)]] will do the trick provided that your variable is correct (I didnt check it but it seems correct according to your outcome) |
you are fast Bob! (and invisible) hehe
|
Quote:
Being invisible sometimes has it's advantages. Chen taught me that trick. ;) |
Quote:
Thank you very much for your quick response, but apparently I have the wrong variable. Here is what I am attempting to accomplish, and if anybody could reveal which variable I am looking for, I would be forever in your debt. What is the variable that determines if a user has a custom title or if the user simply has the default user title that shows up for X posts? That is, by default, people have their custom titles changed when they reach X posts. However, an admin can give them a custom title that does not change despite the number of posts they make. Does anybody know what variable this is or how I could possibly find it? I'd like to make the postbit layout slightly different for people who have been given a custom title by the admins, which is why I'm asking. Thank you very much! |
Quote:
so conditional is PHP Code:
Quote:
|
All times are GMT. The time now is 10:50 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:
|