Savings | Loan | Pay Day Loans | Personal Loans | Credit Expert
VBB mod question / fao: BRiT/Jason [Archive] - WTF?!

PDA

View Full Version : VBB mod question / fao: BRiT/Jason


junglizm
11-07-2004, 09:15 PM
NOTE: this is a mod for MY forum, not a request for anything on wtf.com.

I'm trying to edit the "originally posted by" text from the quote box. I'm running version 3.0.3.quoted text To something like below.
junglizm came out of the closet to say:
quoted text
This is a pic of it in action, albeit this is on vb 2.x.
http://img125.exs.cx/img125/1843/SA-quote.jpg

Below is the code that's in the bbcode_quote template. I originally thought i could just edit the [originally_posted_by_x] line, but that didn't work.
When i changed that string to anything else it just reverts to a normal quote box with no name.([ quote] [ /quote])
Any idea's on what I'd need to edit to accomplish this? The exact quote text isn't important, I'm just using that as an example.

<div style="margin:20px; margin-top:5px; <if condition="$show['iewidthfix']">width: 100%;</if>">
<div class="smallfont" style="margin-bottom:2px">$vbphrase[quote]:</div>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2" style="border:1px inset">
<if condition="$show['username']">
<div><phrase 1="$username">$vbphrase[originally_posted_by_x]</phrase></div>
<div style="font-style:italic">$message</div>
<else />
$message
</if>
</td>
</tr>
</table>
</div>

fuck_you
11-07-2004, 09:27 PM
do it manually copy and paste.

junglizm
11-07-2004, 09:30 PM
do it manually copy and paste.
I asked for help, not some random irrelavant answer. The point is to have the forum software parse the quote text the way i want it. Also, copy and paste doesn't even make sense. This would be for ALL users, not just myself. :rolleyes:

fuck_you
11-07-2004, 11:02 PM
dont neg rep people for trying to help. you showed a example of what you wanted , use that method and just copy and paste what you want there, asking the owners to completly change a part of the script is a lot to ask. But honestly it was low of you to neg rep me for trying to help.

junglizm
11-07-2004, 11:15 PM
dont neg rep people for trying to help. you showed a example of what you wanted , use that method and just copy and paste what you want there, asking the owners to completly change a part of the script is a lot to ask. But honestly it was low of you to neg rep me for trying to help.
Congradulations on making you're self look stupid. I'm asking about this for use on my forum. Had you completely read my post you'd know that though.
I'm trying to edit the "originally posted by" text from the quote box. I'm running version 3.0.3.
You're "help" was anything but; I'm trying to mod the software, not manually enter a the bb quote code. I don't have access to the admin cp on here, so how would I fail at editing a template? This post was directed to BRiT and Jason since they're admins here. I would've PMed it, but I made a thread in case someone else knew. :rolleyes:
I appreciate you trying to help, but next time please make sure it's relevant to what the person is asking. Not just some randon comment, because you can't read the entire thread.

junglizm
11-09-2004, 03:44 PM
Big thanks to Jason for answering my question. The mod is working fine now.

Here's a pic of it in action:
http://img12.paintedover.com/uploads/12/quote.jpg

Thanks to the help, I was also able to modify the Edit text.:)

http://img12.paintedover.com/uploads/12/editz.jpg

MaxPower
11-10-2004, 06:22 AM
See if that variable is cross refferenced in any of the other files. You may need to change it elsewhere.

junglizm
11-10-2004, 12:42 PM
Jason already answered my question. I ended up having to edit the $vbphrase under the phrase settings. I just searched in the bbcode_quote and bbcode_edit phrases and changed them respectively.
http://forums.wtf.com/showpost.php?p=92198&postcount=6

Sidenote: I prefer vbb 2.x now:(

vicodincasserole
11-10-2004, 02:25 PM
so is that all you can do is change it to something else ie. "came out of the closet to say..." or is it a custom sort of thing? as in each user could put whatever they wanted there.

junglizm
11-10-2004, 02:33 PM
Any user can edit the quote message to their liking using bbcode, when they're replying. The point of this mod is to change the forum default though. Also, the edit message is something users wouldn't have access to.