Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 17 Nov 2009, 19:18
Blindspot Blindspot is offline
 
Join Date: Oct 2004
DataManager Thread_FirstPost help.

I have the following code which worked perfectly in 3.8.x...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in 4.0.x it creates a thread as expected, database info looks fine... however...

When I view forumdisplay the prefixid's don't show. Am I missing something?

If I advance edit the thread and assign the prefixid again it does show.
Reply With Quote
  #2  
Old 17 Nov 2009, 19:23
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
prefixid is set by $section. Have you done any testing regarding that variable yet - making sure it is set and such?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 17 Nov 2009, 19:30
Blindspot Blindspot is offline
 
Join Date: Oct 2004
I know that its inserting correctly as I can see in the database that its correct, its just not displaying the prefix in forumdisplay.

I am wondering if there is some datastore or cache i need to rebuild after creating a thread this way?
Reply With Quote
  #4  
Old 17 Nov 2009, 19:37
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
So it is showing the correct last post, but just not the prefix? What is in the page source? And it shows prefixes for other threads on the forumdisplay page?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 17 Nov 2009, 21:49
Blindspot Blindspot is offline
 
Join Date: Oct 2004
I will have to look through the standard newpost code and see if I am missing something.

--------------- Added 18 Nov 2009 at 04:35 ---------------

my bad, the code above works fine, seems i was sleepy when i created my prefix's and made a few of them in capitals :/

Last edited by Blindspot; 18 Nov 2009 at 04:35. Reason: Auto-Merged DoublePost
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 05:51.

Layout Options | Width: Wide Color: