Welcome Guest ( Log In | Register )



3 Pages V  < 1 2 3  
Reply to this topicStart new topic
> Custom BBCode, Help
pyost
post Mar 10 2007, 11:06 PM
Post #21


Nenad Bozidarevic
Group Icon

Group: [MODERATOR]
Posts: 994
Joined: 7-November 05
From: Belgrade, Serbia
Member No.: 9,500



No, I haven't managed in doing so smile.gif I ended up copying the Astahost notice system where you use NOTE=USERNAME. However, a just thought of an idea that might as well work. I'll presume you need it when editing other people's posts, because that's the only way it can be used. Anyhow, when you edit someone's post, you have the choice to leave a message saying "Edited by...". So, why not combine the custom BBCode with that option? Of course, you would probably have to do some serious PHP editing, but it is worth trying.
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Mar 11 2007, 03:21 AM
Post #22


Premium Member
Group Icon

Group: Admin
Posts: 261
Joined: 10-January 06
Member No.: 10,610



I do not claim that I understand IP.B bbcodes and how it works (besides the things that I add them as JAVA SCRIPT under custom bbcode). But after looking at YOU bbcode tag at Invisionize I came to understand that it requires some serious PHP and database to make NOTE=USERNAME to be filled in automatically.

Somehow it looks for {$author['id']} and the session ID, doubled checked with post number and database entry to make RenderRow to show all other information: such as Username, Group, Posts, Joined, From...etc

This, I believe, means the NOTE tag must be synched with who is making the edit, the permission mask of this member, which post and reference with the forum's database.

At this time I am not willing to venture into this area laugh.gif I just thought that custom bbcode will let me use IPB's PHP variables but I guess not, i.e. NOTE={$author['id']} so to speak.
Go to the top of the page
 
+Quote Post
mastercomputers
post Mar 11 2007, 05:46 AM
Post #23


BUG.SWAT.PATROL
Group Icon

Group: Members
Posts: 623
Joined: 1-September 04
From: Auckland, New Zealand
Member No.: 27



If you want automatic name insertion then why not ask?

I haven't worked on this notice BBCode since the javascript problems were sorted here (though I did clean it up even more, just the latest results never saw it here and I only have that on backup now, which I must hunt or just rewrite it again).

Without doing any serious PHP we can still grab the name, because IPB uses cookies, and stores the members name there and we can use javascript to grab it and insert it for us.

That should point you all in the right direction, but you can also wait for me (probably be done when I am not so busy, or during my breaks) to release the newer Notice BBCode which I'll drop here too.

Cheers,

MC
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Mar 11 2007, 06:49 AM
Post #24


Premium Member
Group Icon

Group: Admin
Posts: 261
Joined: 10-January 06
Member No.: 10,610



Oh fantastic!!

I thought I would be asking too much of your time tongue.gif That's some good news!

I came back to share that using Firefox and Greasemonkey extension I think I might have found a workaround solution but modified NOTICE tag itself will do perfectly!

Thanks MC!!

PS, upon looking at the cookies I only find member_id which only shows my Member Number 10,610. Somehow I believe you know how to associate this information with my forum name?
Go to the top of the page
 
+Quote Post
Feedbacker
post Apr 4 2008, 03:10 AM
Post #25


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 0
Joined: 1-November 07
Member No.: 25,869



Cannot Get Comedy Central Working on IPB
Custom BBCode

There appears to custom bbcode embed problem with comedy central. The Video works fine until I hit reply. I then get a message that the video is not longer available.

-Luke Wilbur
Dcmessageboards.Com
Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3
Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. New Introductions & Tests Of Custom Bbcodes(53)
  2. How To #3: Custom BBCdes For This Board (Note)(15)
  3. Mid-autumn: Dragons In The Streets(1)
  4. Custom Windows Boot Screen(10)
  5. Custom Error Pages(11)
  6. Windows Live Custom Domain: Question(4)
  7. Handle New Custom Protocol(0)
  8. First-custom Brush Based "sig"(6)
  9. Upgraded The Note Bbcode(4)
  10. Photoshop Tutorial: Sunblind's Custom Style #2 - Oh-so-blue(0)
  11. Photoshop Tutorial: Sunblind's Custom Style #3 - The DM.Net Style(3)
  12. Photoshop Tutorial: Sunblind's Custom Style #4 - The Bi-Polar Attraction Set(4)
  13. Photoshop Tutorial: Sunblind's Custom Style #5 - Incredible Orange(0)
  14. Photoshop Tutorial: Sunblind's Custom Style #6 - Satin Pillow(0)
  15. Photoshop Tutorial: Sunblind's Custom Style #7 - Rubber(1)
  1. Custom Built PC - No Sound(8)
  2. Photoshop Tutorial: Sunblind's Custom Style #8 - EyeHeartGold(5)
  3. Photoshop Tutorial: Sunblind's Custom Style #9 - Watery(0)
  4. Photoshop Tutorial: Sunblind's Custom Style #10 - Fiery(4)
  5. Custom Error Pages(4)
  6. Any BBCode Editor Around?(1)
  7. Custom 404 Errorpages : How ?(10)
  8. Diy Fan Controller(4)
  9. Ajaxload Creates For You Free Custom Animated Ajax "loading" Icons(0)
  10. Custom Icon For Your Hard Disk Drives ( For Cds Also)(2)
  11. Help: Multi-threading Trouble In Custom Socket Component(2)
  12. Bbcode Help(9)
  13. Easiest Free Forum To Create Custom Skin For?(2)


 



- Lo-Fi Version Time is now: 20th July 2008 - 07:23 AM