The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
|||
|
|||
Ok, see your post:
Code:
&day=" + id, "AdventDay: " + id,"width=" + p Code:
&day=" + id, "AdventDay","width=" + p You can get german Support at your-vb.com if you like. |
#23
|
|||
|
|||
It is working thank you now.
The correct line 38: Code:
window.open("./../../adventcalendar.php?do=open&securitytoken=" + parent.SECURITYTOKEN + "&day=" + id, "AdventDay","width=" + pw + ",height=" + ph + ",left=5,top=5,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"); |
#24
|
|||
|
|||
Coroner, your fix on Page One does work.
My line in complete now reads: Code:
window.open("./../../adventcalendar.php?do=open&securitytoken=" + parent.SECURITYTOKEN + "&day=" + id, "AdventDay", + id,"width=" + pw + ",height=" + ph + ",left=5,top=5,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"); Thanks very much |
#25
|
|||
|
|||
Auf Deutsch? Unsere Tokio Hotel vB wird so glücklich! Heehee.
|
#26
|
|||
|
|||
You can't get german support here.
See the post of @rottimom. Change the line in advent.htm (I will change the download in the afternoon) |
#27
|
|||
|
|||
With everything set up including the usergroup set to test and use when I call adventcalender.php I just get this displayed
options['advcsettings_online'] ? 1 : 0); $can_use_adv = (($permissions['adventpermissions'] & $vbulletin->bf_ugp_adventpermissions['canuseadvent']) ? 1 : 0); $can_test_adv = (($permissions['adventpermissions'] & $vbulletin->bf_ugp_adventpermissions['cantestadvent']) ? 1 : 0); if (!$can_test_adv) { if (!$is_online OR date('n', TIMENOW) != 12 OR !$can_use_adv) print_no_permission (); } $snowflakes = $vbulletin->options['advcsettings_snowflakes']; $have_snow = $vbulletin->options['advcsettings_snow']; $vbulletin->input->clean_array_gpc ('r', array ( 'do' => TYPE_NOHTML, 'day' => TYPE_INT, )); if ($vbulletin->GPC['do'] == 'open' AND $vbulletin->GPC['day']) { $data = $db->query_first ("SELECT * FROM " . TABLE_PREFIX . "adventcalendar_days WHERE adventcalendar_daysid=" . $vbulletin->GPC['day']); echo ' '; if ($data['bitfield'] == 1) { $size = ''; if ($data['pwidth'] AND $data['pheight']) $size = 'width="' . $data['pwidth'] . '" height="' . $data['pheight'] . '" '; echo ''; } else if ($data['bitfield'] == 2) { echo $data['data']; } echo ' '; exit (); } $navbits[''] = 'Advent Calendar'; $navbits = construct_navbits ($navbits); eval ('$navbar = "' . fetch_template ('navbar') . '";'); $pwidth = $pheight = $pcontent = array (0); $datas = $db->query ("SELECT * FROM " . TABLE_PREFIX . "adventcalendar_days ORDER BY adventcalendar_daysid ASC"); while ($data = $db->fetch_array ($datas)) { $pwidth[] = $data['pwidth']; $pheight[] = $data['pheight']; if ($data['image'] != '' OR $data['data'] != '') { if (($data['bitfield'] == 1 AND $data['image'] != '') OR ($data['bitfield'] == 2 AND $data['data'] != '')) $pcontent[] = 1; else $pcontent[] = 0; } else $pcontent[] = 0; } $tpl_pw = implode (',', $pwidth); $tpl_ph = implode (',', $pheight); $tpl_pc = implode (',', $pcontent); eval ("print_output (\"" . fetch_template ("adventcalendar") . "\");"); exit (); ?> Any ideas? I've double checked that all the files are uploaded correctly. |
#28
|
|||
|
|||
Try to upload the php in binary mode.
|
#29
|
||||
|
||||
I don't see the link in my navbar and I think maybe it's the template_hook missing.
I'm not aware of how to fix this problem. Could need a tiny piece of advice on this one, as I would love to have this running from 1.12. PS Userrights has been assigned |
#30
|
|||
|
|||
A little bit of code of the template navbar:
Code:
<if condition="$show['registerbutton']"> <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td> </if> $template_hook[navbar_buttons_left] <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td> |
#31
|
||||
|
||||
OK It's showing now, but with - at least I think - Java-related error. It breaks my fixed forum and keeps popping up and down in size - putting scrollbars on and off very fast?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|