PDA

View Full Version : Custom create thread


Ducks
02-22-2012, 12:22 AM
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
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 1330264667 at 1330264667 ---------------

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

--------------- Added 1330264735 at 1330264735 ---------------

Found the error due to my latest discovery :)

thread.lastposter