oops, I should clarify: I want to add this code only upon viewing the topic, I don't want to add it to the post that gets stored. So I'm looking for a way to set a variable which I can then use in viewtopic.php (and subsequently in viewtopic_body.html). The goal is this: I've added an option in user...
What would be the best way to add custom code to a post which contains images, either from IMG bbcode tags or as attachments. My goal is to add a header with specific text to each post that has images in it (but ignoring images in signatures).
I don't think it was meant as a feature request. When somebody asks "how can i add" something, they're either asking where in the UCP/MCP/ACP that can be done (a support question) or asking what code changes are required (a MOD or Style request). Given that it's pretty obvious that there'...
However, there is obviously no Cancel button in phpBB now, so I'm confused as to why this topic wasn't posted in the MODs or Style forums. It's clearly not a support topic. I think it was meant as a feature request by the OP, and all subsequent replies just latched onto this thread since this is th...
You are putting words in my mouth. I expressed no opinion about the efficacy of a Cancel button. I merely pointed out that you do not have to click anything to go between a post's text and its preview. You are putting words in my mouth. I never said anything about going between a post's text and it...
Absolutely incorrect. The text of your post is right under the preview, so you do not need to click anything. You just scroll down. Oh I see, so your solution is that I have to re-edit my post back to its original state from memory, and then re-submit it as an edited post with no changes at all fro...
Here's one good reason to use appropriate META tags: I run Google Adsense banners on my site. Without the META keyword and description tags present, Google doesn't do a very good job of serving ads that match the subject matter of my site. I keep getting stupid MMORPG and dating ads, among other stu...
so how do I change the warning notification from a PM to an email? I'm trying to figure out what needs editing in /includes/mcp/mcp_warn.php but I'm at a loss.
you also could simply hit the back button in your browser just like I said above. I have never seen a "cancel" button in this type of situation. It simply is not needed and I bet most people would intuitively click the back button on the browser rather than look around for a cancel button...
in this case sql_fetchfield would be better. $sql="SELECT count(u.id) as pms_count FROM " . $dbpref . "uddeim AS u WHERE u.totrash=0 AND u.toread=0 AND u.toid=".$row['id']; $result = $db->sql_query($sql); $pms_count = (int) $db->sql_fetchfield('pms_count'); Yeah I figured that o...