![]() |
Thanks for the vMoods fix, Logician...
Much appreciated. |
Any idea as to why this happens with my blogs link?
http://www.maximum-jackson.com/discu...?pg=invalid_pg Thanks mate! |
Quote:
|
ooh just realised blogs don't show for guests - i'll take a screenshot and detail more info..
Normal blog link http://img80.imageshack.us/img80/5450/1men.jpg When using logician web template logged in. http://img145.imageshack.us/img145/1968/2men.jpg For some reason, when logged in (so blogs are enabled to show in the navbar) a seperate blog link is displayed and the original turns blue and has two little arrows instead of one. |
I'm using WT to make a front page for one of my sites which includes latest blog entries. I had no problems creating a query to pull in and truncate the entries and such, but I am having a problem getting the correct BBCodes processed. Right now it's using the built in BBCode processing of WQ, but I need to instead use the Blog BBCode processing because attachments are incorrectly being linked to thread attachments.
I tried to remove the field from the bbcode parse field list and add some php include that I found in view.php to process the bbcodes. My plan was to get that to work and then swap that out for the blog bbcode parsing, but I couldn't get it to work. Here's what I tried in the Query PHP Include (after) Code:
require_once(DIR . '/includes/class_bbcode_alt.php'); This didn't work at all. So then I tried this: Code:
require_once(DIR . '/includes/class_bbcode_alt.php'); If anyone has the solution for processing blog bbcodes, I'd really appreciate it as I'm not sure how to proceed without REALLY digging deep. Otherwise, if someone can point out what I'm doing wrong here, I'd appreciate it because I can use that to figure out how to swap this code out for blog bbcode processing, which would look something like this: Code:
require_once(DIR . '/includes/class_bbcode_blog.php'); |
Quote:
There are 2 occurences of this code in view.php PHP Code:
PHP Code:
|
Logician,
Thanks for the quick reply! I'm a little confused by your code though. It's the same code that I took out and modified to try to parse a specific field. Your snippet is directly from your view.php and works on the specific field that the loop is working on ($WQfield[$WTWQqbbcodeparsedvalue]) I haven't tried this (mostly because this is production and I can't monkey with it too many times during the day) but I'm assuming that if I plug your code in to the PHP post-query eval, that it won't actually do anything because it doesn't operate on a specific field. I guess I'm wondering how I can change it to work on the specific field from my query, which is called pagetext, and normally shows up as $WQfield[pagetext] I appreciate your help and thank you again for such a great product! |
Quote:
But if you want your hack to work for a certain field only, this should help: PHP Code:
|
OK, so I have zilch knowledge of coding. I want to create a separate story-forum, visible for guests and members (guests can only see the forum, no content)
Rather than a subforum on the main paige, I want these stories to show up on their own page, with the forum looks, nav bar etc. If I now install your mod, can I than copy paste the content of the address-bar to that mode and use that template for this story page? And does that create the same forum (with the threads & content) as the original, or only the structure, after which I can give it a name like "story-forum" and post each story as a thread? Is this a feasible option, or do I have to create a page for every story (which seems a lot of work)? Where does the created page show up on the forum? I take it that I can create a link to the story forum just like for example a link to the FAQ-page (which seems to have a forum structure as well)? Is it safe to try this out, or do I wreck the forum in the proces, give my very limited knowledge of HTML, CSS and the likes? |
Quote:
|
All times are GMT. The time now is 12:19 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:
|