Advertisement
palmdoc

Dobbs Forum Shortcodes

May 2nd, 2014
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. Shortcodes for use in the DOBBS forum
  2.  
  3. ========= Special Shortcodes =============
  4.  
  5. *Embed Google document view : [gview file="http://xxxxxxxxx"]
  6. - where xxxxxxxxx = URL of the file e.g. a PDF or Doc file hosted somewhere - it could be a URL of the PDF you come across in another website for instance
  7. - If you wish to upload the PDF to Dobbs, you have to use the Document upload feature of each Dobbs Group. Click on the Home section of any Dobbs group and then the Documents section. e.g. for Dobbs General it is
  8. http://forum.mydobbs.net/groups/dobbs-general/documents/
  9. Upload the document there and then right click on the uploaded Document to get the URL to use in the shortcode
  10.  
  11. *Forum polls : [fpoll question='Do you find the shortcodes useful?' options='Yes,No']
  12. The Forum editor helps you create this shortcode. The Poll tab is in the upper right of the Forum editor editing buttons.
  13.  
  14. *Forum spoiler : This hides a "secret" answer which only on clicking is displayed . Examples:
  15. Named Spoiler: [spoiler=two plus two]four[/spoiler]
  16. Unnamed Spoiler: [spoiler]Boo![/spoiler]
  17.  
  18.  
  19. ========== Formatting shortcodes ==============
  20. You don't usually need these as most of the formatting tool buttons in the forum post editor takes care of these for you, perhaps with some notable exceptions like Colour and Center Text:
  21. Bold: [b]bold[/b]
  22. Italics: [i]italics[/i]
  23. Underline: [u]underline[/u]
  24. URL: [url]http://wordpress.org/[/url] [url=http://wordpress.org/]WordPress[/url]
  25. Image: [img]http://s.wordpress.org/style/images/codeispoetry.png[/img] [img=Code is Poetry]http://s.wordpress.org/style/images/codeispoetry.png[/img]
  26. Quote: [quote]Lorem ipsum dolor sit amet, consectetuer adipiscing elit,[/quote] [quote=NAME]Lorem ipsum dolor sit amet[/quote] [quote="NAME"]Lorem ipsum dolor sit amet[/quote] [quote author=NAME]Lorem ipsum dolor sit amet[/quote] [quote author="NAME"]Lorem ipsum dolor sit amet[/quote]
  27. Color: [color="red"]named red[/color] [color="ff0000"]hex red[/color] [color=#ff0000]hex red again[/color]
  28. Strikeout:[s]striked this out[/s]
  29. Center Text:[center]center me[/center]
  30. Computer code:[code]function HelloWorld($greet = 'World') { return 'Hello '.$greet } [/code]
  31. Font size: [size=10]10px font size[/size]
  32. Ordered lists: [ol][li][/li][/ol]
  33. Unordered lists: [ul][li][/li][/ul]
  34. List Item: [li]item[/li]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement