![]() |
Quote:
|
Quote:
|
woot!!! going to install very soon, thanks logician :D
|
why did you use your own conditionals? I am just curious.
Do you have a complete list? (Just in case you get busy or not arround) EVERYONE knows only a few people on vb actually help so I would like to do work even if your not arround. a full list with quick simple examples would be awsome. Like your dynamic pop up. There were some hidden gems you gave users. I wouldnt have know them if you didnt show them in the thread. Thanks. |
Quote:
My conditional syntax is first introduced in this first version of webtemplates and then I used the same context in many of my other hacks. At this time, there was no VB3 and vbulletin had no conditional concept. In other words my conditional syntax and concept is older than that of vb3. To maintain backward compatibility, I keep supporting my syntax in my own hacks, besides I find it easier to use. Quote:
|
Quote:
Is there a list to go by? |
Quote:
I don't think that Jelsoft has one so maybe we can collect some here? |
Quote:
Besides the conditionals you can use with this hack is not much different than the default conditionals of vb3. It is just the syntax that matters. So Vb 3 syntax is: <if condition="$bbuserinfo[userid]==1"> if userid is 1, show this </if> my syntax is: [[($bbuserinfo[userid]==1)]] if userid is 1, show this [[/($bbuserinfo[userid]==1)]] as you can see the conditional here is same ($bbuserinfo[userid]==1), it is just the syntax that differs. |
Worked great first time around on install! Great work man! Just a few modifications on colors for text and background to match my site, but it works awesome! Thanks!
|
I just installed the February version of the hack on 3.0.7,
but I can find the sentences indicated in the optional php modifications. Any one can help? |
Quote:
|
Quote:
Thank you 1- admin/index.php find -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= makenavselect("Options"); -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= For this edit online.php 1- find -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= require('./global.php'); -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2- find: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= global $thread, $post, $forum, $event, $gotforum, $hideprivateforums, $bbuserinfo, $timeformat, $displayemails, $enablepms, $bbtitle, $usergroupdef, $numberguests; 2- find -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= default: // Let's show the admin the location but put something false up for everyone else.. if ($bbuserinfo[usergroupid] == 6) { $userinfo[location] = htmlspecialchars(stripslashes(replacesession($user info[location]))); $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>"; } else { // We were unable to parse the location $userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>"; } } $userinfo[time] = vbdate($timeformat,$userinfo[lastactivity]); |
Quote:
|
This make more sense, thank you.
I already ran the SQL query with the old file, I will redo it with the new sql file and I shall be done :) |
let me just say, awesome hack dude... i cant tell you enough how much this helps me
|
This is superb, thank you!!! Work beautifully!!!!
It is the hack I desperately needed to finish my integration. I will be up next week at www.fmag.net. |
I have an annoying problem, when I reload the page created with webpage I loose the username and password in the log-in window...
http://www.fmagazine.com/fmusic_test.htm Welcome page and chat are created with this great hack Please help... |
I found the problem, it is NOT the hack.
Maybe some one can help me, I'm calling a page created with webpage from an external flash button in a different div/iframe with: getURL("http://fmagazine.com/forum/view.php?pg=chat_template$session[sessionurl]", "forum"); This don't find the url If instead I use: getURL("http://fmagazine.com/forum/view.php?pg=chat_template", "forum"); I get the page but I loose the user name. Please help |
This sounds very interesting though I am wondering. Since I am still new at this would it be easy for me to use ? User friendly level would ? I will put on my test board and prctice first ;) Looks very useful.
|
Quote:
BTW no, this hack is not even half interesting in comparison to your site's subject. :) |
Quote:
|
you think you can show me log... how to make a random 5 users picture page with this? I wouldnt know how to begin.
I was looking for something like this. http://myspace.com/ hit refresh the cool new people change. |
I'm getting this when I run the query. I tried both options of copy/paste, and browsing for the file.
Error SQL-query : * - MySQL said: You have an error in your SQL syntax near '--' at line 1 Back |
I added a custom template conditional per this Thread.
and when trying to use it with webtemplates, it's showing the actual code in the page instead of parsing the code. I have enabled conditionals in the template. [[is_os('windows')]] [[//is_os('windows')]]. That is the conditional I'm trying to use. I've tried is_browser and I know that works correctly, is there any reason the custom template conditional I made will not work with this mod? I've even tried adding it to /adminCP/webtemplate.php; PHP Code:
Thanks. |
Quote:
[[(is_os('windows'))]] [[/(is_os('windows'))]] |
Quote:
|
You should add this onto it Logician :)
Code:
Open |
btw installed the hack, 100% perfect. awesome work :)
|
Quote:
|
Quote:
|
If it is, I didn't see it! lol mb.
|
Ok I actually toyed around with it a little and got this when putting in my header and footer into the header/footer templates that were already there:
Code:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/deathleg/public_html/forums/view.php(617) : eval()'d code on line 20 Thanks |
Hi Logican and others,
I happen to come across this hack only sometime back. I installed it and from the looks of it the mod is simply superb. I am yet to exploit it fully but am wondering if you have used this mod on your forums then please post the URL here for others to see what can be done to make a good use of such a mod. :squareeyed: I am thinking of making a section for Vendors on my board and maybe I can use it for that. thanks |
Quote:
|
Quote:
|
So do I have to create my own header/footer pages? I used the coding that is in my header and footer for my forum. I don't get the error =/
|
Quote:
If your webtemplate is already TEXT or HTML parsed but you still get an parse error, then paste the content of your header and webtemplate that gives the error and I'll check. |
Quote:
|
Will this hack conflict with my vBadvanced installation? Or will it simply offer more features alongside that hack?
I'm using that at the moment and it is sufficient as a CMS addon to vBulletin, but I'm looking for more features. I have another site where I use XOOPS, a freeware CMS system, but the forum options in that package are nowhere as bug-free, or feature-rich as vBulletin. I'm looking for something that's a happy medium between XOOPS and vBulletin. My sites are ScALR Network Solutions and BostonLove - Sid |
I got this error after running the MySQL queries:
Invalid SQL: SELECT wtid,title,pagecount,category,doaction,draft,forpa id,template FROM wt2_templates WHERE headerfooter=0 ORDER BY category DESC, title ASC mysql error: Table 'database.wt2_templates' doesn't exist mysql error number: 1146 Since MySQL is integrated in my cpanel, I had to cut and paste the query. I pasted everything, including the beginning of the query: Quote:
|
All times are GMT. The time now is 04:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|