![]() |
Quote:
|
Quote:
Definitely a Mod of the year candidate! |
Gr8 News! that this monster may be ported over to vB4. :)
|
Are there directions for Uninstalling this mod?? I used the "uninstall" through the Plugin Manager & removed the files from the server, but there are still tables that didn't not uninstall.
|
Quote:
|
Logician sorry I didn't realise there are two mod forums and I posted to the older one.
I found the instructions for redirecting user login to a Logician template. How does this work if there are multiple template pages for different usergroups or different users? Thank you. |
Quote:
Regarding your pm, please check here. |
Dear Logician
Thank you so much for fast reply. Pages set to usergroup I knew and have used very happily. Big discovery just now is page targeted to certain individual users PLUS web editing! you amazing guy- I didn't know all that. I would dearly love to have users go to an entry page targeted to either their usergroup (mostly) or for a few, targeted individually. Now you do give a way to make a Logician page replace the forum homepage using .htaccess and that means using a URL for the logon entry like http://www.yourdomain.com/forum/view...=your_template How do I deal with it if my usergroup pages are http://www.yourdomain.com/forum/view...your_template1 http://www.yourdomain.com/forum/view...your_template2 http://www.yourdomain.com/forum/view...your_template3 I suppose the actual login could go to http://www.yourdomain.com/forum/view...=your_template which might have a redirect? (I'm not a coder but I can tweak under instruction) Shanj |
Quote:
With some code edits I can think this is doable but wouldn't it change the entire vb login system's logic for bad? As you know vb login system is kind of intelligent and it takes you to the previous page you were in when you received "no permission page" when you are not logged in. Eg. when you click reply a thread as a guest and receive no permission page, you can enter your u/p there and after login you are taken directly to the "reply this thread" page and resume your action. And since webtemplates do not have a seperate login system and basically use default vb login system, hacking the login system to give an forceful entry page would mean breaking this function of the login. Don't you think? (BTW irrelevant but you don't have to create a different webtemplate for each usergroup if modifications are minor. You can just create one webtemplate for all and then use conditionals to display different content to different usergroups) |
Quote:
Quote:
They all belong to usergroups 1, 2, 3, or 4. But I don't know about the login system. You do. So I accept your advice. Quote:
This COULD be exactly what I need. The differences are the same section of the page has different info. per usergroup. For example a weekly timetable which is displayed as a table. That is different per usergroup though the layout is the same. Cell text content different and bgcolor different. One group has a search form that sends data but that is also in a table. Perhaps if you tell me the limitations on "minor modifications" I could understand what is possible, and do my design to fit the limitations. I don't know how to do conditionals. But if you tell me where to look I will learn it. Thank you Logician. You're great. |
Quote:
For instance webtemplate A can use theme A, webtemplate B can be BBcode parsed, webtemplate C can be banned to user C etc. However when you use single webtemplate for all usergroups obviously you are bound with the settings you entered in that webtemplate so you can't set them seperately for each usergroup. But if this is not your concern and you are just interested in displaying a different content in that very webtemplate to different usergroups, it is possible via "conditionals". You can see the usage of one conditional in builtin webtemplate named "test". It appears with "hidden text" remark when you login as admin. Webtemplates inherit the default vb template conditionals syntax so you can use if else conditions just like you use them in your styles: PHP Code:
And more info can be found in vb's manual about conditionals. |
Thank you for the lovely clear explanation. I have read your documentation again. Then I copied the php from the test page, switched it to html, and it WORKS! HURRAY! I have conditional view pages!
But my first page is using the usergroup tickbox options in admin rather than a conditional php in the webtemplate. It looks to me like that is safer as this is a shared edit page with my mods who might accidentally mess the php conditional at top or bottom. Does that sound right? WEB EDITOR ..................................... There was a small problem with the webeditor. The link already on the page generates a double URL! http://www.mysite.com/xyz/www.mysite...=edit&pg=testa I placed a bbcode [URL] link at the top to the editor and it's fine. I just wondered if you can think of why the code supplied is doing this? It's OK in View Source, just one URL. I do have a slightly nonstandard filepath for my vbulletin - it's in directory xyz as you see in the URL. Perhaps this is difficult for your editor script command? This is great. I'll work on the conditional page to replace forumhome later. Thank you for everything. This is a very exciting mod. It does powerful things AND the instructions you give are extremely good. A lot of coders do powerful things but their instructions are not clear. That makes their work useless. I understand why - instructions are my profession and it's a different brain training to code. So someone like you who does both code and instructions well, is rare - an unusual treasure. |
Quote:
And thanks for kind words! :) |
"$WT_Editor_link"
No I used http://<a href="http://www.mysite.co...g=testt <br /> This link works fine. It was the little font link that appeared automatically via your script that gave the funny double result. It's not your code obviously as the View Source link shows it properly. Probably something on my site. Unless you can think of something it might be I'll just go on putting the link in manually. You deserve nice words. I meant it you're very very good. |
I have set up my chat room on a web templates page and is working well. The only thing I would like to do now is to include a list of usernames that are on the chat room page (i.e. chatting in the chat room) in the "What's Going On" box at the bottom of the forums home page.
Is there any way that I can adapt the WebTemplates_NowBrowsing template that has the variable $activeusers to specify a page or is there any other way to achieve this with this great mod? Thanks for any advice. |
Quote:
PHP Code:
Then you can put this webtemplate in a iframe to display in any place you like. I'm sorry it is not very easy and I couldn't find time to do it for you but I at least tried to show you the correct route. |
Logician dear man
Plese advise about images in the templates. Obviously I can hard code with a full site link http://www.mysite.com/pics/imagefile.jpg But isn't it better for loading to use relative links? If I knew where the webtemplate pages are saved I could create a subdirectory in that directory for my pics. Then my image links could be ../pics/imagefile.jpg which is quicker neater coding. If you tell me I'm making an unnecessary fuss and just using a full site URL http://www.mysite.com/pics/imagefile.jpg then I will do that. |
Quote:
Eg. $stylevar[imgdir_misc] |
Any idea when this will be ported to 4.0.. This was one of my favorite mods, and I MISS it !!
I have been checking back here a couple times a day , hoping to see some good news.. Anxiously awaiting... ;) |
Dear Logician
I have a long complex page but just for me to edit. It has to be html - lots of tables and some php conditionals. One area is not complicated, just plain text, font size, colour, line breaks. There is one picture at the top. The text is all in one table cell <td>Text content</td> I want to frequently update this by changing the text content. Your interface in the admin cp and your wyswyg html editor online are both very good indeed so obviously I can already do that. I REALLY love the online web editor. But it would be wonderful if I could set tags around this quick-edit text section which the online editor recognises. Then I can open ONLY that section of simple text in one table cell, to edit. Plus if possible, replace the picture by changing the URL. Possible? Your respectful admirer UK. |
I think I have finally worked out a way to make a personalised entry / specialised welcome page per usergroup for my site, using Logician's top quality mod and with a bit of his advice as well.
(Actually with Logician's powerful controls it could also target key individual users with a custom entry / welcome page as well as targeting usergroups.) No messing with the login process, no secondary complications of being timed out and forced to return to the entry page when logging in again. Also when giving the URL for entry to anyone in an email/ by phone/ visible on a webpage, in a letter or advert, the welcome page URL can be kept very simple and easy to remember. The welcome page can provide any information, links, guides as relevant to e.g. very new user/ veteran user/ mods/ various needs for usergroups. Using Logician's admin cp editor by pasting in a complex page from your own editor, OR using the "Edit this page" Logician webeditor to make a simple page of information and links, it's not a big deal to create the welcome page you want. 1. I make a perfectly ordinary html page. I'll call this the false welcome page. This must NOT be a Logician Webtemplate. Best to place it outside the vbulletin folder. Its URL is something like Code:
www.mysite.com/welcome Code:
welcome containing an index.html page. This is the false welcome page. This URL is very easy for you to publicise and for your people and new possible people to remember. Code:
www.mysite.com/welcome - give out on the phone, -- offer in an email, email signature - include in a letter/ letter heasding, leaflet, or advert - and perhaps most important it's easily remembered. For me with international travelling users that's key as they can remember it wherever they are. 2. But the false welcome page - the index.html page inside the welcome directory has nothing in it except a standard redirect to one of Logician's cool webtemplates - which because it is powerful has its characteristically more complex URL. Redirect is done like this. Put this code between the <HEAD> and </HEAD> tags of the index page in the "welcome" directory. Code:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mysite.com/view.php?pg=test "> Code:
www.mysite.com/view.php?pg=test"> Yours will replace mysite.com and also the name of the webtemplate on the end showing as "test." 3. Because the user is being redirected to a page INTERNAL to VBulletin the standard VB login interface HAS to appear. The user logs in. or registers, if you accept open registration. 4. They then arrive at the TRUE welcome page. For them it's just - use the very simple URL to the false welcome page (the ordinary html page) - Login or register - Arrive at the TRUE welcome page. 4A. The webtemplate on arrival, the TRUE welcome page, obviously has a link to the forumhome either in its navbar (if using the VB header) and optionally in a side menu. (I recommend Ultimate Side Columns for use with Logician's Webtemplates) It should also have a prominent link to the TRUE welcome page so users can get back to it for information, guides, links to frequently used areas, the stuff you put together to suit THEIR needs. 5. The TRUE welcome page is one single longish page, set to be accessible to ALL usergroups you want to use this method of entry. Set that access for this page, in Logician's webtemplates admincp. (You may also want some usergroups to just use the standard forumhome which you publicise to those types of user. Perhaps having a personalised welcome page is best for your newcomers? or useful as a privilege level gift.) 6. The TRUE welcome page/ webtemplate has sections that are different for different usergroups. Welcome for very new users, higher level content for veterans, stuff for mods, specifics for various usergroups. Logician's online editor feature also supports a collaborative page maintained with colleagues, fellow mods, family wetc though this would probably mean a simpler page unless the collaborators are all coders! These usergroup access controls are created by php conditionals as Logician showed earlier on this thread: Code:
<if condition="$bbuserinfo[usergroupid] == 6"> .................................................. ... TO SUMMARISE Use a false welcome page \directory-named-welcome\index.html index.html redirects to the TRUE webtemplate welcome (Logician's webtemploate) the TRUE webtemplate welcome is set in Logician's admin cp to all usergroups you want to have a welcome/ entry page it has php conditionals to offer customised stuff to a) usergroups b) key individuals or bar same. Phew! Thank you Logician for helping me so much on the way. I hope this little piece of work is not out of place here. |
Can I make a quick edit section possible like this?
First template is independent, no VB header or footer, set to HTML. Second template has ONLY text content and URL to image only. First template has code in one of its table cells (a column) that inserts the content of the second template. What do I put in the selected table cell, in the first template to make it insert the second template? My aim is that I open just the SECOND template via its URL, click Edit this page and change the typed text in it. Save. This updates this section in the FIRST template within the table cell. ........................ If this is not good please suggest a way to insert a) plain text paragraphs and b) an image link into a specific part of a webtemplate using the webeditor without opening and editing the whole webtemplate in the webeditor. This is because it's a long and complicated webtemplate so i want a way to have a quick update section. Thank you lots. |
Love the mod Logician! Very well done.
I've also recently updated my site to 4.0.1, and was curious if you have given any plans on upgrading this to the latest versions? |
Quote:
Logician are you he or she? Just so's I can be properly courteous after all these years! |
Quote:
|
Quote:
"he" after 51 hours silence pre-cisely - - then another 3 hours silence! How can you be so cruel? Take pity on me Sir Logician. At least tell me if you can give me code to do this: Quote:
Seriously being able to insert text from template B into a table cell in template A, using the webeditor on template B, plus start/end tags in the table cell in template A - this would complete being able to ignore all those cms/ portal things. They don't give me the fine degree of control on layout or content that your genius does. |
Quote:
a) HTML webtemplate (will be parent) b) Text Webtemplate (will be a child element in parent) Then use iframe code in HTML webtemplate to display text webtemplate in it. Give editor rights to text webtemplate to any user/usergroup you like and they can now edit text content with WYSIWYG editor without dealing with HTML content of the parent. |
Thank you kindly Logician. I just woke up and found your lovely reply.
I was beginning to wonder what that iframe stuff was that came up on this thread sometimes. Should have looked it up. I did that now. In the parent webtemplate I put Code:
<iframe src ="http:/www.mysite.com/forums/view_child.htm" width="100%" height=""></iframe> Hmm. Just as a final flourish it would be nice to archive the previous item in an accessible way to the user. Little bit like a blog. Let's see ... # Parent webtemplate (html) has iframe for updating info+pic item. This links to child1 (text). At the bottom of this iframed column (table cell) AFTER the iframe is a link to child2 (text) archive page labelled "More." Placing after iframe ensures that editing the iframe content doesn't blitz this link! # Open both child1 and child2 in separate windows. Webedit (text): Cut item 1 text+pic from child1. Webedit (text): Paste it into child2 archive page. This is not narrow column, but full width centre content. So can hold quite a few before pagination necessary. # Webedit (text): Paste or type new item into child1. # Child1 (pic+text) updated appears in the iframe on parent. Child2 displays archived items full page spread. If anyone can see better shortcut on the archiving please tell me. Or would I be better finding a simple blog and inserting it in the iframe? No - not for me because all I want is to update a news/ info/ announcement item. No comments etc. But i would like to have the older items archived for users to read. |
Can someone help me with a web query that will insert the latest 5 threads with title x in them? I want to be able to put a query on every page that says: here are the latest five threads about <subject>
Thanks! |
Quote:
I hope as soon as possible is the best mod ever |
Quote:
Though I wouldn't touch VB4 with the proverbial barge pole. Give it 6 months to a year to develop. |
Can anyone give a link to a list of vb variables?
The words you put with a dollar sign to get output like a username? Would be useful to use in my webtemplates and I can't find a list anywhere. Thanks. |
Quote:
|
Quote:
However I still can't give an ETA because porting proved to be more difficult than I expected. VB4 changed entire template system and algorithm and well WebTemplates is "Template"s :D So entire structure needs to be rewritten and it can take sometime (especially if my daily regular work floods) but rest assured, this hack will be ported to vb4 this way or that way (still without a promised ETA!) ;) |
Quote:
Thanks Logician |
Logician, you are life saver for putting in the work effort to port this mod. It is, in my view, the best modification I have put on my board, as it has soo many uses, it's unreal. keep up the great work and look forward to seeing the vB4 version, when you get it completed. Thanks again.
|
can't wait as i have many templates created with this
|
Heck this mod is great, no word on the vB4 update? How far are you?
|
Quote:
|
Come on please update this to Vb4
|
All times are GMT. The time now is 09:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|