The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Yeah its working so im mega happy.
I just need to add the option to edit thread, this might be a bit more complicated if editing a post that isnt the first post of the thread. Do you think i should add it to the thread table then? if i done that, surely the code weve added is adding the variable to the post table, how would we tell it to add it to the thread table? --------------- Added [DATE]1360091710[/DATE] at [TIME]1360091710[/TIME] --------------- Maybe i just need to add a if postid=1 variable to the if statement on the newthread template where it displays the check box option to claim authorship --------------- Added [DATE]1360092034[/DATE] at [TIME]1360092034[/TIME] --------------- hhmmm i had added this code to the editpost template thinking that would have cracked it, but the option isnt showing up with this if statement. Any ideas Code:
<if condition="$post[postcount] == 1"><div><label for="authorship"><input type="checkbox" name="authorship" value="1" id="authorship" tabindex="1" $checked[authorship] />Claim google authorship</label></div></if> I know you have helped me immensly, im just trying to tidy up these loose ends. I'm trying to add it to the edit post page, ive added the same code as i did in the postbit_legacy, but when i check the box to claim authorship, it doesnt set the authorship field in the post table to '1'. Any ideas? Let me know your paypal email and i will send you something as a small token of my appreciation for helping me with that. --------------- Added [DATE]1360098744[/DATE] at [TIME]1360098744[/TIME] --------------- Ive added the 2 lines i need to in editpost.php, the same as i did in newthred.php, but cant find where i should be doing this dataman part. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|