The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
What type of announcement would include this?
I am working on my skin, and in template threadbit_announcementbit I found this block of code I cant seem to trigger.
HTML Code:
<if condition="$show['forumtitle']"><a href="forumdisplay.php?$session[sessionurl]f=$announcement[forumid]">$announcement[forumtitle]</a> </if> Code:
<!-- <a href="forumdisplay.php?$session[sessionurl]f=$announcement[forumid]">$announcement[forumtitle]</a> --> Code:
<!-- <a href="forumdisplay.php?f="></a> --> |
#2
|
|||
|
|||
global announcements differ from forum announcements
|
#3
|
||||
|
||||
Yes, but neither are returning results on those variables... I have tried multiple variations of notifications, I have tried stacking and unstacking announcements. Yet nothing is setting those varibles...
|
#4
|
||||
|
||||
I'd guess that something in the syntax has changed but I don't have a 3.8x installation to compare with. Is this code from 3.8.11 or an earlier version?
|
Благодарность от: | ||
yellow_spider |
#5
|
||||
|
||||
...your on to something, my master template dump was from an earlier version. Although I am running 3.8.11, i will see if this snippet is still in the template manager.
**edit** just confirmed this snippet is in 3.8.11. no change to the template at all. keep in mind I am looking at this source on forumdisplay (i am unaware anywhere else that uses threadbit_announcement) I have tried only having 1 announcement, 1 announcement and a global. only 2 forum announcements, only 2 global announcements, all stacked announcements, and all un stacked, and a few other ways. nothing seems to give these variables values. at this point its just bugging the hell out of me. is there maybe somewhere else this template is rendered? I searched all templates, and see $announcebits is called in the announcements and search templates also, but I cant figure out how to search for announcements and I defiantly dont see this template being used in the announcement template |
#6
|
||||
|
||||
You also have access to the announcement_edit template.
|
#7
|
||||
|
||||
but threadbit_announcement is not displayed in the edit page. Im just trying to figure out what php pages I can see threadbit_announcment, and how to trigger it to show on said pages.
forumdisplay.php shows it yet doesnt return any values for the snippet. I see $announcebits (which I believe is the variable to call threadbit_announcement template) in search, and announcement. Yet I cant figure out how to get that template to actually appear on either of those pages. |
#8
|
||||
|
||||
Thanks, I understand your problem now.
I am not a coder but I can give you my opinion as a user: the announcement manager as it is now meets my needs perfectly. I ask no more. I can customize the design, give access rights by forum, by user group, etc. As you can see on the following screenshot (a responsive theme), I am using another of your products. :up: |
#9
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|