PDA

View Full Version : Problem with newthread.php


Zweeper
21 Jun 2006, 18:29
I installed the newest Version of vRewrite. It's all ok, just one Problem:

When i would like to start a new Thread, the Link of the Button is:

http://www.zweeper.de/forum/f-gott-und-die-welt-45.html/newthread.php?do=newthread&f=45


this is incorrect, the correct link is:

http://www.zweeper.de/forum/newthread.php?do=newthread&f=45



why is this rewritten? and how i can change this? I hope someone can help me :(


MFG Zweeper

Immortal
21 Jun 2006, 20:50
Make sure you added the template changes :)

Zweeper
22 Jun 2006, 04:13
i added all template changes

can help me somebody?

i don't find the problem :(

Okay, i got the error but no solution for the Problem.
The Portal makes trouble, i editet the forumdisplay.php that the portal shows the left panel.

looks like so:


<?php
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.5.4 - Licence Number XXXXXXXXXX
|| # ---------------------------------------------------------------- # ||
|| # Copyright 2000-2006 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'forumdisplay');

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array('forumdisplay', 'inlinemod');

// get special data templates from the datastore
$specialtemplates = array(
'iconcache',
'mailqueue'
);

// pre-cache templates used by all actions
$globaltemplates = array();

// pre-cache templates used by specific actions
$actiontemplates = array(
'none' => array(

bla bla bla, this part is still the original...




if ($newthreads < 1 AND $unreadchildforums < 1)
{
mark_forum_read($foruminfo, $vbulletin->userinfo['userid'], TIMENOW);
}

construct_forum_rules($foruminfo, $forumperms);

$show['forumsearch'] = iif (!$show['search_engine'] AND $forumperms & $vbulletin->bf_ugp_forumpermissions['cansearch'] AND $vbulletin->options['enablesearches'], true, false);
$show['forumslist'] = iif ($forumshown, true, false);
$show['stickies'] = iif ($threadbits_sticky != '', true, false);

($hook = vBulletinHook::fetch_hook('forumdisplay_complete')) ? eval($hook) : false;

eval('$HTML = "' . fetch_template('FORUMDISPLAY') . '";');
print_portal_output($home, $HTML);


/*======================================================================*\
|| ####################################################################
|| # Downloaded: 20:05, Sun Apr 2nd 2006
|| # CVS: $RCSfile: forumdisplay.php,v $ - $Revision: 1.295.2.1 $
|| ####################################################################
\*======================================================================*/
?>





The beginning and the and is changed. Can someone call me what i have to doo that vrewrite also works with this modification??

Mysticales
19 Aug 2006, 05:14
Id edit the license if I was you ;)