vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - WebTemplates 3.7.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=186644)

ishare 11-03-2008 07:48 AM

This is the best mod/hack/addon (or whatever we call it) i've seen on vBulletin. Everything depands on what you can imagine. And this mod makes everything much easier for who dont know lot about php or other coding language.

So thank you very much Logician for this great mod. You simply rock....

I also need an idea about something i would like to do.

Through "$WQ_last10threadfromforum2" i would like to list all the threads in a certain category. And i've changed the limit to 500. So it lists all the threads in ASC without a problem. But i would like to learn if it is possible to make this page with a letterbar (same as vbulletin memberlist.php) ? So users could find the threads much easier. Or even listing the threads like : threads starts with letter A or B.... would be great.

Is that possible ? Anyone can give me an idea about how to do that...
Thanks in advance...

Logician 11-03-2008 08:24 AM

Quote:

Originally Posted by ishare (Post 1658383)
This is the best mod/hack/addon (or whatever we call it) i've seen on vBulletin. Everything depands on what you can imagine. And this mod makes everything much easier for who dont know lot about php or other coding language.

So thank you very much Logician for this great mod. You simply rock....

I also need an idea about something i would like to do.

Through "$WQ_last10threadfromforum2" i would like to list all the threads in a certain category. And i've changed the limit to 500. So it lists all the threads in ASC without a problem. But i would like to learn if it is possible to make this page with a letterbar (same as vbulletin memberlist.php) ? So users could find the threads much easier. Or even listing the threads like : threads starts with letter A or B.... would be great.

Is that possible ? Anyone can give me an idea about how to do that...
Thanks in advance...

It can be done. Here is a sample webtemplate/webquery for this

ishare 11-03-2008 08:42 AM

Logician, i dont know how to thank you for your very kind relation and very quick response... You are my hero....

I really wish that i could send more and i know that its nothing but i've send you a donation through paypal. That was the amount in my paypal account. :)

ishare 11-03-2008 09:47 AM

Is it possible to remove the first row of the alphabetical table (image2.png) so i can show just the letters seperate as same as on the memberlist.php ? (image4.png)

And is it also possible to add the numeric option which we can then list the threads start with the humbers. I've added "#" but i guess its not working.

Thanks again for this wonderful mod.

Logician 11-03-2008 10:14 AM

Quote:

Originally Posted by ishare (Post 1658435)
Is it possible to remove the first row of the alphabetical table (image2.png) so i can show just the letters seperate as same as on the memberlist.php ? (image4.png)

And is it also possible to add the numeric option which we can then list the threads start with the humbers. I've added "#" but i guess its not working.

Thanks again for this wonderful mod.

1- That part comes because wt uses default theme. If you don't use theme, you can customize it via HTML as you like.

2- Edit webquery like this:
SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1 AND forumid=3 $letterquery
ORDER BY dateline DESC
LIMIT 500

Query PHPInclude Code (Before) : like this:

$myletter1 = substr($myletter, 0, 1);
if ($myletter == '_')
{
$letterquery = "AND (title LIKE '0%' OR title LIKE '1%' OR title LIKE '2%' OR title LIKE '3%' OR title LIKE '4%' OR title LIKE '5%' OR title LIKE '6%' OR title LIKE '7%' OR title LIKE '8%' OR title LIKE '9%') ";
}
else
{
$letterquery = "AND title LIKE '$myletter1%'";
}

and then use
<a href='view.php?pg=alphabeticalthreads&myletter=_'> #</a>
for linking numbered threads.

ishare 11-03-2008 10:31 AM

Would "thank you" be enough for all your helps ?

Now i can use my imagination to create very useful and nice pages with your wonderful mod.

Thank you very very much again Logician...

Ohiosweetheart 11-03-2008 12:01 PM

Quote:

Originally Posted by ishare (Post 1658463)
Would "thank you" be enough for all your helps ?

No it's not. Click on the link in the first post to nominate WT for Mod of the Month ;)

ishare 11-03-2008 04:29 PM

I've already done that Ohiosweetheart :)

http://www.dwgallery.net/data/503/Image11.png

Ohiosweetheart 11-03-2008 05:24 PM

Hopefully it will win one of these days.

ishare 11-03-2008 06:34 PM

With "zero" knowledge of php, i did my best to solve the problems. And actually i did solve most of my problems through google them or search for the possible answers through vb.org

But i still have some problems which i can not solve.

Can not find the right variable for the forum title :
When i list the threads of forumid=2, i can sort them through the letterbar. In the current letterbar, there are "Title", "Author" and "Date" sections. I did add another section called "Forum" which will show the forum title of the thread which it belongs to.
Code:

<td class="$alternate" WIDTH="25%" VALIGN="TOP" NOWRAP><div class="smallfont">$forum[forumtitle]</div></td>
I've also tried $forumid, $forum[title], forumid and maybe +20 different tries which i do not remember now. But none of them worked.


I would like to make a "movie list" for my forum. Due to i have lot of categories such as "Dvd Movie Reviews", "HD-Bluray Movie Reviews", "TV Series Reviews" etc.., i tried to make css navigation menu as shown on below image.

I used "Site Information Pages Template" for this movie list but it did not work due to a reason i do not even remember right now. I feel like my head will blow soon due to those complicated, puzzling, meaningless php codes.

http://www.dwgallery.net/data/503/Image13.png

***
Above picture is just an example to give an idea about what i would like to do




Is it possible to pull threads from different forums at same time ?

Code:

SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1 AND forumid=103 $letterquery
ORDER BY dateline DESC
LIMIT 500

I did below adding :
Code:

forumid=103 or forumid=104 or forumid=105
I've also tried below :
Code:

forumid=103 AND forumid=104 AND forumid=105
But none of them worked. So i guess i do something wrong or maybe its not possible to do what i want to do...

segwayon 11-03-2008 09:00 PM

Thanks Logician, for a really cool mod. It works like a charm. I am having a minor template issue, though, and can't figure out where it's coming from.

In the navbar template, there's the top row which contains the "navbits_start.gif" folder-looking icon file. Using this webtemplate, while that folder icon sits okay to the lefthand side, the beadcrumbs next to this image file centered inside its TD column rather than sitting justified to the left next to that folder icon. It only happens with our default "Transparencity+" style, as all other selected styles render the navbar within your webtemplates okay. And when I compare word for word, both navbar templates look identical to me (the one which is mysteriously centered and another which is fine), and so it might be in a CSS section perhaps. I wish I knew where to look to find out why the breadcrumbs want to float away to the center.

Any pointers appreciated.

Logician 11-05-2008 12:46 PM

Quote:

Originally Posted by ishare (Post 1658781)
Can not find the right variable for the forum title :
When i list the threads of forumid=2, i can sort them through the letterbar. In the current letterbar, there are "Title", "Author" and "Date" sections. I did add another section called "Forum" which will show the forum title of the thread which it belongs to.

query changes as

PHP Code:

SELECT t.threadidt.titlet.postusername,t.postuserid,t.datelinef.title as forumtitle 
FROM 
" . TABLE_PREFIX . "thread t
LEFT JOIN 
" . TABLE_PREFIX . "forum f ON f.forumid=t.forumid
WHERE t
.sticky=AND t.visible=AND t.forumid=3 $letterquery 
ORDER BY t
.dateline DESC
LIMIT 500 

and Query PHPInclude Code (Before) as:

PHP Code:

$myletter1 substr($myletter01);
if (
$myletter == '_')
{
        
$letterquery "AND (t.title LIKE '0%'  OR t.title LIKE '1%'  OR t.title LIKE '2%'  OR t.title LIKE '3%'  OR t.title LIKE '4%'  OR t.title LIKE '5%'  OR t.title LIKE '6%'  OR t.title LIKE '7%'  OR t.title LIKE '8%'  OR t.title LIKE '9%') ";
}
else
{
     
$letterquery "AND t.title LIKE '$myletter1%'";





Quote:

Originally Posted by ishare (Post 1658781)
Is it possible to pull threads from different forums at same time ?

WHERE sticky=0 AND visible=1 AND (forumid=103 OR forumid=104 OR forumid=105) $letterquery

Logician 11-05-2008 12:49 PM

Quote:

Originally Posted by segwayon (Post 1658872)
Thanks Logician, for a really cool mod. It works like a charm. I am having a minor template issue, though, and can't figure out where it's coming from.

In the navbar template, there's the top row which contains the "navbits_start.gif" folder-looking icon file. Using this webtemplate, while that folder icon sits okay to the lefthand side, the beadcrumbs next to this image file centered inside its TD column rather than sitting justified to the left next to that folder icon. It only happens with our default "Transparencity+" style, as all other selected styles render the navbar within your webtemplates okay. And when I compare word for word, both navbar templates look identical to me (the one which is mysteriously centered and another which is fine), and so it might be in a CSS section perhaps. I wish I knew where to look to find out why the breadcrumbs want to float away to the center.

Any pointers appreciated.

Webtemplates does not have a different CSS section. It just inherits your CSS. You must make sure you use "default vb header/footer" in your webtemplates. If you already do, I'd say it should be an issue of your custom style. Please also compare CSS sections (before </head> tag) with word. You can maybe catch a pattern there

maidos 11-05-2008 05:43 PM

do you allow css coding on webtemplate, i wish to add rounded boxes

Logician 11-05-2008 07:45 PM

Quote:

Originally Posted by maidos (Post 1660016)
do you allow css coding on webtemplate, i wish to add rounded boxes

You can add it to your vb css as:

<if condition="THIS_SCRIPT==view">
your css for webtemplates
</if>

maidos 11-05-2008 09:04 PM

thanks but exactly where do i add it, i added on style manager, forum skin, main css but it doesnt work
please be a little more specific
have this
PHP Code:


<if condition="THIS_SCRIPT==view">
.
rtop,.rbottom{display:block}
.
rtop *,.rbottom *{display:block;height1px;overflowhidden}
.
r1{margin0 5px}
.
r2{margin0 3px}
.
r3{margin0 2px}
.
r4{margin0 1px;height2px}

.
rs1{margin0 2px}
.
rs2{margin0 1px}
</if> 


i dont want to use image to get the corners so i chose js instead but where will i add this js file?

PHP Code:

function NiftyCheck()
{
if(!
document.getElementById || !document.createElement)
    return(
false);
var 
b=navigator.userAgent.toLowerCase();
if(
b.indexOf("msie 5")>&& b.indexOf("opera")==-1)
    return(
false);
return(
true);
}

function 
Rounded(selector,bk,color,size){
var 
i;
var 
v=getElementsBySelector(selector);
var 
l=v.length;
for(
i=0;i<l;i++){
    
AddTop(v[i],bk,color,size);
    
AddBottom(v[i],bk,color,size);
    }
}

function 
RoundedTop(selector,bk,color,size){
var 
i;
var 
v=getElementsBySelector(selector);
for(
i=0;i<v.length;i++)
    
AddTop(v[i],bk,color,size);
}

function 
RoundedBottom(selector,bk,color,size){
var 
i;
var 
v=getElementsBySelector(selector);
for(
i=0;i<v.length;i++)
    
AddBottom(v[i],bk,color,size);
}

function 
AddTop(el,bk,color,size){
var 
i;
var 
d=document.createElement("b");
var 
cn="r";
var 
lim=4;
if(
size && size=="small"){ cn="rs"lim=2}
d.className="rtop";
d.style.backgroundColor=bk;
for(
i=1;i<=lim;i++){
    var 
x=document.createElement("b");
    
x.className=cn i;
    
x.style.backgroundColor=color;
    
d.appendChild(x);
    }
el.insertBefore(d,el.firstChild);
}

function 
AddBottom(el,bk,color,size){
var 
i;
var 
d=document.createElement("b");
var 
cn="r";
var 
lim=4;
if(
size && size=="small"){ cn="rs"lim=2}
d.className="rbottom";
d.style.backgroundColor=bk;
for(
i=lim;i>0;i--){
    var 
x=document.createElement("b");
    
x.className=cn i;
    
x.style.backgroundColor=color;
    
d.appendChild(x);
    }
el.appendChild(d,el.firstChild);
}

function 
getElementsBySelector(selector){
var 
i;
var 
s=[];
var 
selid="";
var 
selclass="";
var 
tag=selector;
var 
objlist=[];
if(
selector.indexOf(" ")>0){  //descendant selector like "tag#id tag"
    
s=selector.split(" ");
    var 
fs=s[0].split("#");
    if(
fs.length==1) return(objlist);
    return(
document.getElementById(fs[1]).getElementsByTagName(s[1]));
    }
if(
selector.indexOf("#")>0){ //id selector like "tag#id"
    
s=selector.split("#");
    
tag=s[0];
    
selid=s[1];
    }
if(
selid!=""){
    
objlist.push(document.getElementById(selid));
    return(
objlist);
    }
if(
selector.indexOf(".")>0){  //class selector like "tag.class"
    
s=selector.split(".");
    
tag=s[0];
    
selclass=s[1];
    }
var 
v=document.getElementsByTagName(tag);  // tag selector like "tag"
if(selclass=="")
    return(
v);
for(
i=0;i<v.length;i++){
    if(
v[i].className==selclass){
        
objlist.push(v[i]);
        }
    }
return(
objlist);



rapidphim 11-09-2008 06:35 AM

Is there a way for me to create an html frameset page? I want to create a page with top fixed frame and second frame with scrollable.

How can I do that with this hack? Thanks.

sparklywater 11-09-2008 03:08 PM

I'm using the '$WQ_testpagination' query to fetch a list of all the posts on my forum, see here http://www.sparklywater.com/posts.html. I have set the 'rows per page' setting to 30 in the 'PHP include' section of the webtemplate, like this:

Code:

$vbulletin->input->clean_array_gpc('r', array(
                'pagenumber'          => TYPE_INT,
                'perpage'                  => TYPE_INT,
        ));

        $pagenumber = $vbulletin->GPC['pagenumber'];
        $perpage = $vbulletin->GPC['perpage'];

        // ----------------------------------------------
        // Pagination
        // ----------------------------------------------
        //total actions records
        $totalrecordsC = $db->query_first("
SELECT COUNT(*) AS record FROM
" . TABLE_PREFIX . "thread AS thread
INNER JOIN " . TABLE_PREFIX . "post AS post on (post.postid = thread.lastpostid)
INNER JOIN " . TABLE_PREFIX . "forum AS forum on (thread.forumid = forum.forumid)
");
        $totalrecords = intval($totalrecordsC['record']);

        // set defaults for pagination
        if ($perpage == 0 or $perpage > 1000) {$perpage = 30;}
        if (!isset($pagenumber) or $pagenumber == 0) {$pagenumber = 1;}
        $limitlower = ($pagenumber - 1) * $perpage + 1;
        $limitupper = $limitupper = ($pagenumber) * $perpage;
        if ($limitupper > $totalrecords)
        {
        $limitupper = $totalrecords; 
                        if ($limitlower > $totalrecords) {$limitlower = $totalrecords - $perpage;}
        }
        if ($limitlower <= 0) {$limitlower = 1;}
        $sel_limitlower = $limitlower;
                $sel_limitlowerminus1 = $sel_limitlower -1;

$pagenav = construct_page_nav($pagenumber, $perpage, $totalrecords, "$WT_Option_NameOFviewphp?$session[sessionurl]pg=$pg&perpage=$perpage");

        // -- /Pagination}



On the third page of my results, there are currently 25 rows / posts listed, so this should be the last page in the results (ie. no fourth page). However, in the pagenav at the bottom-right hand side, the 4th page number is listed and when clicking on page 4, the table simply states "No threads to List" (ie. the 'No Results Row' value). This 4th page is unnecessary because the final rows of results already ended on page 3.

Is there any way to fix this?

Logician 11-09-2008 03:57 PM

Quote:

Originally Posted by sparklywater (Post 1662386)
I'm using the '$WQ_testpagination' query to fetch a list of all the posts on my forum, see here http://www.sparklywater.com/posts.html. I have set the 'rows per page' setting to 30 in the 'PHP include' section of the webtemplate, like this:

Code:

$vbulletin->input->clean_array_gpc('r', array(
        'pagenumber'      => TYPE_INT,
        'perpage'          => TYPE_INT,
    ));
 
    $pagenumber = $vbulletin->GPC['pagenumber'];
    $perpage = $vbulletin->GPC['perpage'];
 
    // ----------------------------------------------
    // Pagination
    // ----------------------------------------------
    //total actions records
    $totalrecordsC = $db->query_first("
SELECT COUNT(*) AS record FROM
" . TABLE_PREFIX . "thread AS thread
INNER JOIN " . TABLE_PREFIX . "post AS post on (post.postid = thread.lastpostid)
INNER JOIN " . TABLE_PREFIX . "forum AS forum on (thread.forumid = forum.forumid)
");
    $totalrecords = intval($totalrecordsC['record']);
 
    // set defaults for pagination
    if ($perpage == 0 or $perpage > 1000) {$perpage = 30;}
    if (!isset($pagenumber) or $pagenumber == 0) {$pagenumber = 1;}
    $limitlower = ($pagenumber - 1) * $perpage + 1;
    $limitupper = $limitupper = ($pagenumber) * $perpage;
    if ($limitupper > $totalrecords)
    {
    $limitupper = $totalrecords; 
            if ($limitlower > $totalrecords) {$limitlower = $totalrecords - $perpage;}
    }
    if ($limitlower <= 0) {$limitlower = 1;}
    $sel_limitlower = $limitlower;
                $sel_limitlowerminus1 = $sel_limitlower -1;
 
$pagenav = construct_page_nav($pagenumber, $perpage, $totalrecords, "$WT_Option_NameOFviewphp?$session[sessionurl]pg=$pg&perpage=$perpage");
 
    // -- /Pagination}



On the third page of my results, there are currently 25 rows / posts listed, so this should be the last page in the results (ie. no fourth page). However, in the pagenav at the bottom-right hand side, the 4th page number is listed and when clicking on page 4, the table simply states "No threads to List" (ie. the 'No Results Row' value). This 4th page is unnecessary because the final rows of results already ended on page 3.

Is there any way to fix this?

Make sure you use the same query in your webquery and also in the section :

Quote:

$totalrecordsC = $db->query_first("
SELECT COUNT(*) AS record FROM
" . TABLE_PREFIX . "thread AS thread
INNER JOIN " . TABLE_PREFIX . "post AS post on (post.postid = thread.lastpostid)
INNER JOIN " . TABLE_PREFIX . "forum AS forum on (thread.forumid = forum.forumid)
");
You can be using different queries which causes the problem.

rapidphim 11-09-2008 10:01 PM

logician, would you able to help me with above question?

Logician 11-10-2008 06:02 AM

Quote:

Originally Posted by rapidphim (Post 1662193)
Is there a way for me to create an html frameset page? I want to create a page with top fixed frame and second frame with scrollable.

How can I do that with this hack? Thanks.

You can.. Just create your frameset html and then paste its content into a webtemplate which does NOT use a webtheme.

rapidphim 11-11-2008 12:50 PM

frameset includes two seperate file and use name/id to communicate with each other, how am I going to do that? Also please kindly guide me how to create either left or right content column. thanks much.

Logician 11-12-2008 01:45 PM

Quote:

Originally Posted by rapidphim (Post 1663501)
frameset includes two seperate file and use name/id to communicate with each other, how am I going to do that? Also please kindly guide me how to create either left or right content column. thanks much.

Put your general frame code into a webtemplate say "parent1":

<frameset rows=25%,75%>
<frame src="view.php?pg=child1">
<frame src="view.php?pg=child2">
</frameset>


Then use different webtemplates for child1 and child2 sets.

Finally visit "parent1" to display alltogether

maidos 11-12-2008 02:08 PM

can you pplease reply about the css,

Logician 11-12-2008 02:11 PM

Quote:

Originally Posted by maidos (Post 1660131)
thanks but exactly where do i add it, i added on style manager, forum skin, main css but it doesnt work
please be a little more specific
have this
PHP Code:

 
<if condition="THIS_SCRIPT==view">
.
rtop,.rbottom{display:block}
.
rtop *,.rbottom *{display:block;height1px;overflowhidden}
.
r1{margin0 5px}
.
r2{margin0 3px}
.
r3{margin0 2px}
.
r4{margin0 1px;height2px}
 
.
rs1{margin0 2px}
.
rs2{margin0 1px}
</if> 


i dont want to use image to get the corners so i chose js instead but where will i add this js file?

PHP Code:

function NiftyCheck()
{
if(!
document.getElementById || !document.createElement)
    return(
false);
var 
b=navigator.userAgent.toLowerCase();
if(
b.indexOf("msie 5")>&& b.indexOf("opera")==-1)
    return(
false);
return(
true);
}
 
function 
Rounded(selector,bk,color,size){
var 
i;
var 
v=getElementsBySelector(selector);
var 
l=v.length;
for(
i=0;i<l;i++){
    
AddTop(v[i],bk,color,size);
    
AddBottom(v[i],bk,color,size);
    }
}
 
function 
RoundedTop(selector,bk,color,size){
var 
i;
var 
v=getElementsBySelector(selector);
for(
i=0;i<v.length;i++)
    
AddTop(v[i],bk,color,size);
}
 
function 
RoundedBottom(selector,bk,color,size){
var 
i;
var 
v=getElementsBySelector(selector);
for(
i=0;i<v.length;i++)
    
AddBottom(v[i],bk,color,size);
}
 
function 
AddTop(el,bk,color,size){
var 
i;
var 
d=document.createElement("b");
var 
cn="r";
var 
lim=4;
if(
size && size=="small"){ cn="rs"lim=2}
d.className="rtop";
d.style.backgroundColor=bk;
for(
i=1;i<=lim;i++){
    var 
x=document.createElement("b");
    
x.className=cn i;
    
x.style.backgroundColor=color;
    
d.appendChild(x);
    }
el.insertBefore(d,el.firstChild);
}
 
function 
AddBottom(el,bk,color,size){
var 
i;
var 
d=document.createElement("b");
var 
cn="r";
var 
lim=4;
if(
size && size=="small"){ cn="rs"lim=2}
d.className="rbottom";
d.style.backgroundColor=bk;
for(
i=lim;i>0;i--){
    var 
x=document.createElement("b");
    
x.className=cn i;
    
x.style.backgroundColor=color;
    
d.appendChild(x);
    }
el.appendChild(d,el.firstChild);
}
 
function 
getElementsBySelector(selector){
var 
i;
var 
s=[];
var 
selid="";
var 
selclass="";
var 
tag=selector;
var 
objlist=[];
if(
selector.indexOf(" ")>0){  //descendant selector like "tag#id tag"
    
s=selector.split(" ");
    var 
fs=s[0].split("#");
    if(
fs.length==1) return(objlist);
    return(
document.getElementById(fs[1]).getElementsByTagName(s[1]));
    }
if(
selector.indexOf("#")>0){ //id selector like "tag#id"
    
s=selector.split("#");
    
tag=s[0];
    
selid=s[1];
    }
if(
selid!=""){
    
objlist.push(document.getElementById(selid));
    return(
objlist);
    }
if(
selector.indexOf(".")>0){  //class selector like "tag.class"
    
s=selector.split(".");
    
tag=s[0];
    
selclass=s[1];
    }
var 
v=document.getElementsByTagName(tag);  // tag selector like "tag"
if(selclass=="")
    return(
v);
for(
i=0;i<v.length;i++){
    if(
v[i].className==selclass){
        
objlist.push(v[i]);
        }
    }
return(
objlist);



You can also add it inside a if condition before <head> section

ZatroX 11-13-2008 02:27 AM

Hey thank you first of all this mod rocks. Got a problem tough, when i make a page it just a blank page with the text i entered.

On the how to create file it shows this

f) Using a Theme : Default Basic Theme
g) Header : Default Vbulletin Header
h) Footer : Default Vbulletin Footer

F. how ever, on the drop down menu it doesnt show the Defaul Basic theme option. it does on header and footer but not using theme.

No Parent Template (This is an independent webtemplate)
Thast what it shows instead. i think this might be problem wondering if theres fix, thank you!

Shanj 11-13-2008 02:46 AM

Logician I completely love your mod

Small detail problem - I set up a template page, set it to TEXT
Can view, but when I click the link to edit the page as a user I get
Not Found

The requested URL /fcc/www.mysite.com/xxx/editors.php was not found on this server.

Have checked via ftp and editors.php IS there on this filepath.

Could the problem be that I do not use the standard directory name for my forum? that is, my url to editors.php is not /forum/editors.php but /xxx/editors.php
maybe I need to change this in the code somewhere?

I don't have the very recent update installed yet. But the version I have does have the options in admin to allow user edit + when I open the page it does have "Edit This Page" at the bottom.

Logician 11-13-2008 07:08 AM

Quote:

Originally Posted by ZatroX (Post 1664623)
Hey thank you first of all this mod rocks. Got a problem tough, when i make a page it just a blank page with the text i entered.

On the how to create file it shows this

f) Using a Theme : Default Basic Theme
g) Header : Default Vbulletin Header
h) Footer : Default Vbulletin Footer

F. how ever, on the drop down menu it doesnt show the Defaul Basic theme option. it does on header and footer but not using theme.


No Parent Template (This is an independent webtemplate)
Thast what it shows instead. i think this might be problem wondering if theres fix, thank you!

You probably didn't install it correctly. Please double check installation steps and especially make sure you import default wt's fine.

Logician 11-13-2008 07:12 AM

Quote:

Originally Posted by Shanj (Post 1664630)
Logician I completely love your mod

Small detail problem - I set up a template page, set it to TEXT
Can view, but when I click the link to edit the page as a user I get
Not Found

The requested URL /fcc/www.mysite.com/xxx/editors.php was not found on this server.

Have checked via ftp and editors.php IS there on this filepath.

Could the problem be that I do not use the standard directory name for my forum? that is, my url to editors.php is not /forum/editors.php but /xxx/editors.php
maybe I need to change this in the code somewhere?

I don't have the very recent update installed yet. But the version I have does have the options in admin to allow user edit + when I open the page it does have "Edit This Page" at the bottom.

It cant be related to directory name. I'd still tell you didn't upload it to the correct directory.

However when I try to visit the url in your link, it seems it loads fine.

ZatroX 11-13-2008 01:01 PM

Quote:

Originally Posted by Logician (Post 1664721)
You probably didn't install it correctly. Please double check installation steps and especially make sure you import default wt's fine.


What do you mean right here? I also followed everything correctly its just that

Logician 11-13-2008 01:46 PM

Quote:

Originally Posted by ZatroX (Post 1664846)
What do you mean right here? I also followed everything correctly its just that

So can you load test webtemplate fine for example?

If yes, give me admin cp access and I can check.

ZatroX 11-14-2008 01:29 AM

I found out the problem for some reason i missed this

(There are 2 XML files, please make sure you import the file named "webtemplate_export.xml"!)

Do i uplpoad the webtemplate_export.xml where? as a product?

EDIT: Im such a dummy did this like at 12 am, and its 7:30 pm today so i just saw that i shouldnt be doing this stuff when im tired LOL thank you so much haha im looking like a newb right now hehe ty Logician! :)

Ohiosweetheart 11-14-2008 03:35 AM

So did you get it fixed Zatro?

If not, look in the menu under WebTemplates, and you'll see an export/import (or import/export) button. That's where you import the webtemplate_export.xml

Emre Goren 11-15-2008 08:11 AM

this is a great hack thanks for this and here is the page that I created

http://www.cgflame.net/forum/view.php?pg=cargo

TheFocusElf 11-21-2008 02:54 PM

I thought I had posted here yesterday - reinstalled this mod on a fresh version of IPB 3.74 PL1, and I love this mod, the only question I have is I cannot use the HTML parsing option, or I get a bizarre error, consistently when i actually paste HTML into the box :

Code:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.vbforumname.com Port 80


Logician 11-21-2008 08:27 PM

Quote:

Originally Posted by TheFocusElf (Post 1670090)
I thought I had posted here yesterday - reinstalled this mod on a fresh version of IPB 3.74 PL1, and I love this mod, the only question I have is I cannot use the HTML parsing option, or I get a bizarre error, consistently when i actually paste HTML into the box :

Code:

Internal Server Error
 
The server encountered an internal error or misconfiguration and was unable to complete your request.
 
Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
 
More information about this error may be available in the server error log.
 
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.vbforumname.com Port 80


Assuming you meant VB, not IBP: ;) please see Post number 223.

ishare 11-22-2008 09:12 PM

I've created a very nice and very useful list which saved me from weeks of job with this wonderful mod. So i would like to thank you again for all of your works...

Am not sure whether its possible or not but i would like to try my chance...

I have 2 forum categories. And each categories has movie reviews inside. But with different language content. Forum1 is in English and Forum2 is in Turkish language. And sometime, both forums contains same title but with different languages. Instead of preparing different lists for both forums, doing just 1 list but with both forums content will be much more better. But ofcourse, if i am able to do what i plan (think) to do. The problem starts here :) If you dont mind i would like to ask you if it is possible to

For example, if the thread pulled from Forum1, it will automatically put an English flag icon (english.gif) and if the thread pulled from Forum2, then there will be Turkish flag icon (turkish.gif).

Is it possible to do something like that ? or no need for that ?

Regards...

Logician 11-23-2008 07:07 AM

Quote:

Originally Posted by ishare (Post 1670829)
I've created a very nice and very useful list which saved me from weeks of job with this wonderful mod. So i would like to thank you again for all of your works...

Am not sure whether its possible or not but i would like to try my chance...

I have 2 forum categories. And each categories has movie reviews inside. But with different language content. Forum1 is in English and Forum2 is in Turkish language. And sometime, both forums contains same title but with different languages. Instead of preparing different lists for both forums, doing just 1 list but with both forums content will be much more better. But ofcourse, if i am able to do what i plan (think) to do. The problem starts here :) If you dont mind i would like to ask you if it is possible to

For example, if the thread pulled from Forum1, it will automatically put an English flag icon (english.gif) and if the thread pulled from Forum2, then there will be Turkish flag icon (turkish.gif).

Is it possible to do something like that ? or no need for that ?

Regards...

Nope you can't do that, but you can write forum name next to them.

yahoooh 11-23-2008 08:46 AM

i have page in folder which is only one page that give all result on it
how to include it with php code
because i use frame code

any help plz

sparklywater 11-23-2008 03:22 PM

I think this mod is good enough to be sold to vBulletin / vBadvanced, they should make Logician a good deal and then support the product themselves. Logician has been doing a phenomenal job on his own but it would be easier on him if there was a team working on it rather than on his own. What do you think Logician?


All times are GMT. The time now is 08:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01970 seconds
  • Memory Usage 2,035KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (6)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete