vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Custom create thread (https://vborg.vbsupport.ru/showthread.php?t=278969)

Ducks 02-22-2012 12:22 AM

Custom create thread
 
I've made an API (or just a script to be precise), which let users with a special key create threads without interacting with vBulletin. But in forum overview the last poster username is user id, which cache do I need to update?

I have added and changed information in these tables:

thread
post
forum

cellarius 02-22-2012 09:06 AM

If the user id shows instead of the username, then this very likely is not a cache thing, but your filling in the wrong data.

Ducks 02-22-2012 10:17 PM

Quote:

Originally Posted by cellarius (Post 2302241)
If the user id shows instead of the username, then this very likely is not a cache thing, but your filling in the wrong data.

I was supposing this too, but I have investigated the records and found no errors, might do a look again but I don't believe that's the problem.

cellarius 02-23-2012 07:08 AM

Look at the database entry, and make sure you pull the correct value in the template. That's where the error has to be, vB does not silently exchange values.

Ducks 02-26-2012 12:39 PM

I need to look in the template for {vb:raw threadbits} but I got no clue, which template that is.

Found it.. didn't help me much, forum table is correct, so somewhere it must cache it or something.

--------------- Added [DATE]1330264667[/DATE] at [TIME]1330264667[/TIME] ---------------

The problem only occurs in FORUMDISPLAY (i think it's called) not on the main page, just thread listing pages.

--------------- Added [DATE]1330264735[/DATE] at [TIME]1330264735[/TIME] ---------------

Found the error due to my latest discovery :)

thread.lastposter


All times are GMT. The time now is 06:15 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.01161 seconds
  • Memory Usage 1,717KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete