The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#51
|
||||
|
||||
The issue is what we are trying to replace with. I had looked into this just about a year ago and failed. I have just about got it right as of now, but I neet to test it against other mods to make sure it won't break them.
So hopefully later today I will have this ready. |
#52
|
|||
|
|||
I did reply to you ozzy but the posts went above your last post for some reason.
|
#53
|
|||
|
|||
Haha! Something wrong with vB then.
Well at least your getting something out of helping me. Be nice to have all your temp mods as real mods. |
#54
|
||||
|
||||
Who knows what's going on with the post times. I noticed it happen yesterday as well.
As for the str_replace it is difficult because of what we are adding, it needs to be done while the template is being compiled, but I got it working, so I should have this ready for you later today. Good thing is now I can redo my template modifications, that did something similar and turn them into real mods. |
#55
|
|||
|
|||
After an addon is made and you are testing it, how can you test what the output is? Can you use print or echo to see the output of your code?
|
#56
|
||||
|
||||
Ok here it is.
I added the stylevar for the background also for you. |
#57
|
||||
|
||||
There is one change you need to make th the CSS template. Remove what is in there and replace it with this:
Code:
.postbitlegacy .postbody_moderated, .eventbit .eventdetails .eventbody { margin-{vb:stylevar left}: {vb:stylevar postbitlegacy_userinfo_width}; border-{vb:stylevar left}: {vb:stylevar postbit_userinfo_border}; background: {vb:stylevar mod_post_background_color}; padding-bottom: -1em; } |
#58
|
|||
|
|||
Still nothing happening for me when I install it and make the changes. I think I also need to make the settings for the background colour as there is only the setting to enable the mod.
You can see on the attached image that the post is moderated and the div class is still postbody. |
#59
|
||||
|
||||
Wierd, it should be showing as moderated. Care to send me a admin account so I can see what is going on?
|
#60
|
||||
|
||||
I just tested this on a vanilla vB4 site and it is working, so I would need to debug what is going on with your site that is stopping the mod from working.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|