The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
ok freddie that worked that also helped with about 4 more lines. Now I am stuck here. On line 544 on 543 I tried like this 1==1) and I also tried on 544 changing } to { no luck.
PHP Code:
|
#12
|
||||
|
||||
I just used (1 == 1 ) as an example, you don't want to put that in as it always equates to true;
Code:
if ($info[public] == 1) { $user = $info[username]; eval ("\$postedby = \"".gettemplate("calendar_postedby")."\";"); $type = "Public"; } elseif ($info[Chat] == 1) { user = $info[username]; eval ("\$postedby = \"".gettemplate("calendar_postedby")."\";"); $type = "Chat"; } else { unset($postedby); $type = "Private"; } |
#13
|
||||
|
||||
ok freddie I had 2 other places but I was able to clear those up. The calendar page opens up now but I don't see the extra button I am trying to get there. I changed the style.php and added a color block in the control panel added a variable for it and it works. I then made 2 templates called calendar_chatevent and calendar_chateventbutton, I then modified calendar.php Did I miss something somewhere. Boy for working all day on something this is disappointing. Any ideas?
|
#14
|
||||
|
||||
Ok update all done Having one small problem look at script below you will see it needs to pull from 3 templates. The way the script is now its using the private event for both itself and also for the chat event. This mainly has to do with text color, Can someone tell me how to fix this. I have template for private setup for #880000 and chat event template setup for #669933 but text for both showup as #880000. Public event is setup for #000088 and it works right. I have narrowed it down to this part of calendar.php Hopefully someone can see the problem.
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|