How did this address come from?
This post was last edited by lghyt3 on 2014-01-12 23:40:53
Recently in the Discuz Forum, its Forum entry page does not have an HTML tag, but after clicking on the section that appears, do not know how to do, the first figure to indicate, we note the image of the top edge of the address bar ID changes
Here is the code, I looked at it, there is no address bar in this format "http://127.0.0.1/bbs/forum.php ?Mod=forumdisplay&fid=38 "Especially this question mark,
The code is as follows:
/**
* [discuz!] (C) 2001-2099 Comsenz Inc.
* This was not a freeware, use was subject to license terms
*
* $Id: forum.php 33828 2013-08-20 02:29:32z Nemohou $
*/
Define (' Apptypeid ', 2);
Define (' Curscript ', ' Forum ');
Require './source/class/class_core.php ';
Require './source/function/function_forum.php ';
$modarray = Array (' Ajax ', ' announcement ', ' attachment ', ' forumdisplay ',
' group ', ' image ', ' Index ', ' Medal ', ' Misc ', ' MODCP ', ' notice ', ' post ', ' redirect ',
' Relatekw ', ' relatethread ', ' rss ', ' topicadmin ', ' Trade ', ' viewthread ', ' tags ', ' collection ', ' Guide '
);
$modcachelist = Array (
' Index ' = = Array (' Announcements ', ' onlinelist ', ' forumlinks ',
' Heats ', ' historyposts ', ' Onlinerecord ', ' userstats ', ' diytemplatenameforum '),
' Forumdisplay ' = = Array (' smilies ', ' announcements_forum ', ' globalstick ', ' forums ',
' Onlinelist ', ' Forumstick ', ' threadtable_info ', ' threadtableids ', ' stamps ', ' diytemplatenameforum '),
' Viewthread ' = = Array (' smilies ', ' smileytypes ', ' forums ', ' usergroups ',
' Stamps ', ' bbcodes ', ' smilies ', ' custominfo ', ' groupicon ', ' stamps ',
' Threadtableids ', ' threadtable_info ', ' posttable_info ', ' diytemplatenameforum '),
' redirect ' = = Array (' Threadtableids ', ' threadtable_info ', ' posttable_info '),
' Post ' = = Array (' Bbcodes_display ', ' bbcodes ', ' smileycodes ', ' smilies ', ' smileytypes ',
' Domainwhitelist ', ' albumcategory '),
' Space ' = = Array (' fields_required ', ' fields_optional ', ' custominfo '),
' Group ' = = Array (' GroupType ', ' Diytemplatenamegroup '),
);
$mod =!in_array (C::app ()->var[' mod '), $modarray)? ' Index ': C::app ()->var[' mod ');
Define (' Curmodule ', $mod);
$cachelist = Array ();
if (Isset ($modcachelist [Curmodule])) {
$cachelist = $modcachelist [Curmodule];
$cachelist [] = ' plugin ';
$cachelist [] = ' pluginlanguage_system ';
}
if (C::app ()->var[' mod ') = = ' Group ') {
$_g[' basescript '] = ' group ';
}
C::app ()->cachelist = $cachelist;
C::app ()->init ();
Loadforum ();
Set_rssauth ();
Runhooks ();
$navtitle = Str_replace (' {bbname} ', $_g[' setting ' [' Bbname '], $_g[' setting ' [' Seotitle '] [' Forum ']);
$_g[' Setting ' [' threadhidethreshold '] = 1;
Require Discuz_root. /source/module/forum/forum_ '. $mod. PHP ';
?>
Share to: more
------Solution--------------------
Ajax, asynchronous invocation
------Solution--------------------
The last sentence require discuz_root. /source/module/forum/forum_ '. $mod. PHP '; This should be the address where the view HTML is located