![]() |
Awesome Hack!
Would it be possible to add some comfort to it? ;) New Option in ACP (I don't care about the 1 query) and some usefull buttons to easier configure the conditionals, similiar to bbcode in posts, like a drop down menu where you can choose the usergroup it is shown to, Integration of BBCode-Buttons etc... Guess this is a lot work, isn't it? ;) I would very appreciate if you could take the time. |
Quote:
Actually I use "conditonals" in many of my hacks and I know that although they are powerful, they are not "newbie-friendly". Therefore I always thought a kind of visual mask for conditionals which would help ordinary users to form them more easily. But there is no easy way to code such an integration. For example you told about choosing "usergroups" from a pull down option which is a good idea but a conditional does not necessarily include a usergroup. It can involve ALL vb user related variables like userid, register date, style id etc, and also ALL the other VB variables like forumid, threadid, post id (that's for my other hacks using conditionals). Besides they can coexist together: For example someone might want to create a conditional which will apply if user group is 6 AND user is viewing thread 17 AND today is his birthday. :) Well I still couldnt find a way to create a visual mask that will help you forming this conditional. I have to trust the fact that most of the users using hacks with conditionals are "power users" who would need little help to form them.. ;) |
Most fantastic this hack! Very easy to install and works as promised in 2.2.8 with the changed step 4.
|
Is there a way to have a general Personal Conditional?
Something like, Welcome, [NICKNAME] to the board. Please make sure that you read the Info & News Forum. So instead of [NICKNAME] it shows the users name? |
Welcome, $bbuserinfo[username] to the board. Please make sure that you read the Info & News Forum.
|
is there a way to make it have a fader? like its a news fader.
i saw a hack on a board once, i dont know the name of the hack, but i was wondering if this could do the same thing? it fades from one paragraph to the other, like a javascript fader? could this hack do that also with somw extra modifications? btw, awesome hack! i installed it with no problems. thanks. |
Quote:
[fade] your text goes here [/fade] all you have to do is put the tag [fade] in your announcement box and the main function inside your forumhome template.. Of course if the script works differently, different solutions may apply.. |
. . .that warns a user when the PN-Counter ($allpm[messages]) is higher than 'x' PN's.
I tried this code: [[($bbuserinfo[allpm]>=40)]] Hallo $bbuserinfo[username], In Deinen PN Postf?chern liegen zur Zeit $allpm[messages] gesammelte Nachrichten. Noch $rest und Du kannst keine mehr empfangen !! Bitte ?berpr?fe Dein Postfach und l?sche nicht mehr ben?tigte Nachrichten. Danke und Gru? RayMatrix[[/($bbuserinfo[allpm]>=40)]] And also this one: [[($allpm[messages]>=40)]] Hallo $bbuserinfo[username], In Deinen PN Postf?chern liegen zur Zeit $allpm[messages] gesammelte Nachrichten. Noch $rest und Du kannst keine mehr empfangen !! Bitte ?berpr?fe Dein Postfach und l?sche nicht mehr ben?tigte Nachrichten. Danke und Gru? RayMatrix[[/($allpm[messages]>=40)]] Both wont work for me. My Question is: Is $bbuserinfo only looking for fields wich are in DB Folder 'user' ? If no, what do i have to change to read from all the other folders in the DB ? Thanks for your help Regards |
Quote:
[[($allpm[messages]>=40)]] Hallo $bbuserinfo[username], In Deinen PN Postf?chern liegen zur Zeit $allpm[messages] gesammelte Nachrichten. Noch $rest und Du kannst keine mehr empfangen !! Bitte ?berpr?fe Dein Postfach und l?sche nicht mehr ben?tigte Nachrichten. Danke und Gru? RayMatrix[[/($allpm[messages]>=40)]] But you need to apply the hack to your index.php (not global.php) so that it will work. Because variable $allpm[messages] is assigned a value in index.php and global.php runs before index.php runs. Therefore it is blank if you apply the code in global.php. The answer to your question is: This hack is competible with ALL vb variables available provided that they are assigned a value before dynamic announcement code is run.. |
. . .but your explanation is to hard for me to understand.
Quote:
If you meen your code: PHP Code:
And another Question: Is there any place where i can read about the Variables so i can understand where '$bbuserinfo' comes from ? And is it right that your Code only get called in index.php when i insert the code as step 4 tells to do ? Thanks for all Regards |
Quote:
find the hack code in index.php (the one you referred above) and cut (delete) it. Now go at the end of index.php, find: PHP Code:
Quote:
Quote:
If you heed to my advice and change the code's location, the hack would parse the $allpm[messages] variable because it would already have a value BEFORE hack runs.. See? |
. . .and i think the creator also ;)
THX for your help, great Hack. . .i love it more from minute to minute ! Keep on your good work !! Regards |
I have a question can you do this outside the announcement?
|
Quote:
For non-vb web pages check webtemplates hack For vb templates check dynamic templates hack |
Quote:
|
Quote:
|
Okay Thanks for your help man.
|
This is one friggin *cool* hack ... this should be implemented into vB 3.0 in a major way!
[SIZE=3 ] SIX STARS !!! [/SIZE] :banana: |
Quote:
|
Very very kewl hack.
Me tries to install :) |
Just installed it and everything works fine.....except I can't embed bbcode (e.g. , ) in the announcement. I have no conditionals....so just an announcement everyone can see. Ideas?
|
Quote:
|
Yes, but which post? Maybe best if you quote a little bit of it....i'll manage then! ta
|
Quote:
IMPORTANT NOTICE FOR V.2.2.8 (OR LATER) USERS: |
Yes, the contents of that post are in the installation instructions and applied correctly.
|
Incidentally, I don't get the symptoms as described in that post. The CONDITIONALS appear to work fine. It's the vbCode that don't (e.g. "[b]").
Other than that - fantastic hack! |
Quote:
2- Can you use $bbuserinfo[username]? 3- Can you use smilies? 4- What's your vb version? 5- Can you use other vb code like quote or php or font 6- Do URL converted well? 7- Is there any chance that you modified default vb code for bold or italic in Admin CP/BB Code section? |
Quote:
2. No 3. No. 4. 2.2.8 (Yes I have installed the patch for 2.2.8 as described above) 5. No 6. Not sure what you mean 7. No - they work fine in actual postings. |
Quote:
Only thing I can think of is the existance of another hack in your board which clashes with this one in the function.php. To test it, try this: In hack code find, PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
No dice. This is how the bottom of functions.php looks post the above eidt being applied.......
Code:
// Logician Dynamic Forum Announcements Hack I changed announcement text and saved it too. |
This is unrelated and a small suggestion. Rather than have the admin function tucked away at the end of a very long page. Why not have it linked directly off its own control panel navigation link in the left hand column?
|
Quote:
BTW. can u still not see bbcode after you applied the change I gave you above? |
Quote:
Thanks for the rest of your post above BTW. |
Logician, if I change "bbcodeparse" to "bbcodeparse2" in the code section I posted about 5 messages up I get the bold, and quote and smilies working BUT i still get "$bbuserinfo[username]" (without the surrounding quotes) appearing in the announcements.
|
Hi,
does it work with 2.2.9 ? Regards. |
Quote:
|
okay, thanks.
I'll try it :) |
Thanks, This is fanatasic......
|
Well, I just tried installing on 2.2.9, and have absolutley nothing to show for it. The options arent coming up in AdminCP. I'm a bit confused, and pretty new to this, so any help would be much appreciated. But still, it's a very nice hack.
|
Quote:
Also make sure you clicked "APPLY" in vb settings section after you installed the hack |
All times are GMT. The time now is 09:58 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:
|