vb.org Archive

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

barryhand 07-22-2006 04:06 PM

if you use a php redirect on the site root www.site.com and have the forums installed at www.site.com/forums

You can't login, as it's looking for www.site.com/forums/ files

any help ? (apart from doing a refresh redirect)

rollo tamasi 07-22-2006 06:56 PM

Hi, I installed this mod this evening. Everthing went smooth and then i went to test it by going to the view.php?pg=test and view.php?pg=test2 page but nothing showed up.

I then setup an aboutus page and went to view.php?pg=aboutus and the same thing happened once more.

I uploaded all the files into the correct path and uploaded the product web templates xml file.

Any ideas what could be wrong?

orphan 07-23-2006 04:03 AM

Quote:

Originally Posted by rollo tamasi
Hi, I installed this mod this evening. Everthing went smooth and then i went to test it by going to the view.php?pg=test and view.php?pg=test2 page but nothing showed up.

I then setup an aboutus page and went to view.php?pg=aboutus and the same thing happened once more.

I uploaded all the files into the correct path and uploaded the product web templates xml file.

Any ideas what could be wrong?

SEO Friendly URLs on?

The-Ensemble 07-23-2006 05:40 PM

I installed this mod and i installed it correctly everything is in the right places. the thing doesnt show up in the admincp, i logged out, i turned the internet off i even restarted my computer and still no change, its no there.
Whats wrong?

morrow 07-24-2006 01:49 AM

Quote:

Originally Posted by The-Ensemble
i turned the internet off i even restarted my computer and still no change, its no there.
Whats wrong?

Can you please not turn the internet off again. When you did that, you took everyone down and it really wasn't fair to the rest of us here who aren't having the same issue you're having.

I would go back and read the instructions again. It seams to me that you left something out. If you add/replace anything, remember what I asked of you. If you turn the internet off again, nobody is going to be able to help you.

Bubble #5 07-24-2006 02:06 AM

Quote:

Originally Posted by The-Ensemble
i turned the internet off

Man, that must be one-hell-of-a-large-switch that you're using :bunny:

barryhand 07-25-2006 08:25 AM

I want to display some information from a user's profile on the template page.

What code can I use, I want to show their customfields (if they have them)

barryhand 07-25-2006 12:28 PM

Another question, I have a query to show the last 10 threads from any forum with the title of the thread, the poster and the date. I want to add in the forum that it was posted in.

E.g
Forum - Thread Title - Poster - Time.

Do i need to query 2 tables for this, how ?

Here's the code i have already
Quote:

SELECT threadid, title, postusername,postuserid,dateline
FROM " . TABLE_PREFIX . "thread
WHERE sticky=0 AND visible=1
ORDER BY dateline DESC
LIMIT 10

webgroup 07-26-2006 03:18 AM

Hi, I have noticed that after installing the hack, now my forum is not displaying characters like ñ á á é.

They appear fine if you post in advanced mode, the problem only affects the quick mode.

Any help?

Thanks!!

louis_chypher 07-26-2006 11:41 AM

Quote:

Originally Posted by barryhand
Another question, I have a query to show the last 10 threads from any forum with the title of the thread, the poster and the date. I want to add in the forum that it was posted in.

E.g
Forum - Thread Title - Poster - Time.

Do i need to query 2 tables for this, how ?

Here's the code i have already

Two tables, yes. Thread table and forum table

Code:

SELECT " . TABLE_PREFIX . "thread.threadid AS threadid, " . TABLE_PREFIX . "thread.title AS title, " . TABLE_PREFIX . "thread.postusername AS postusername," . TABLE_PREFIX . "thread.postuserid AS postuserid," . TABLE_PREFIX . "thread.dateline AS dateline," . TABLE_PREFIX . "forum.description AS description 
FROM " . TABLE_PREFIX . "thread LEFT JOIN " . TABLE_PREFIX . "forum ON " . TABLE_PREFIX . "thread.forumid=" . TABLE_PREFIX . "forum.forumid
WHERE " . TABLE_PREFIX . "thread.sticky=0 AND " . TABLE_PREFIX . "thread.visible=1
ORDER BY dateline DESC
LIMIT 10

I tried the above in a query window not using " . TABLE_PREFIX . ", so, you might find an error in my pasting of the " . TABLE_PREFIX . " into the sql statement.


All times are GMT. The time now is 06:25 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.01834 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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