(2018-07-01, 01:24 PM)Laird Wrote: Have found a more general solution than the one above for lists - it can be applied to videos too.
Turns out there was no need for a general solution, and the fix for videos was very simple: add second (value: 1) and third (value: 0) parameters to the call $templates->get("video_{$video}_embed") in the eval() on the second-to-last line of postParser::mycode_parse_video() in inc/class_parser.php, so that the entire line becomes:
PHP Code:
<?php eval("\$video_code = \"".$templates->get("video_{$video}_embed", 1, 0)."\";");
(2018-07-01, 05:13 PM)Laird Wrote: Well, I can fix the video problem, although as I said the fix would "break" posts that have been using a workaround (removing blank lines) for the problem. Maybe though I can code a little tool to reinsert blank lines where necessary in existing posts after applying the fix, to minimise the breakage.
I ended up writing that tool, and I've just run it on the live database. The posts it has modified are as follows in case anybody wants to check that it hasn't made a mess of their posts:
- Steve [account deleted]
- Ninshub
- RE: Psi Multimedia Resources Thread
- RE: UFOs (and related) Multimedia Resources Thread
- Multimedia Resources Thread - Mediumship
- RE: OBE Multimedia Resources Thread
- RE: OBE Multimedia Resources Thread
- RE: OBE Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- How do you define the ego?
- RE: Physical mediumship: apports through the mouth
- RE: Multimedia Resources Thread
- RE: Todo list
- RE: Psi Multimedia Resources Thread
- RE: The criticism that there is no reliably reproducible demonstration of psi
- RE: Psi Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Physical Mediumship
- RE: Death is the end
- RE: Death by Dancing!!
- RE: Death by Dancing!!
- RE: Multimedia Resources Thread - Deathbed Visions & ADCs
- RE: Psi Multimedia Resources Thread
- RE: NDE Multimedia Resource Thread
- RE: Multimedia Resources Thread - Mediumship
- RE: Waco - the truth at last
- RE: Psi Multimedia Resources Thread
- Is Alex Jones a Jesuit & CIA disinfo agent?
- Precognition and the unconscious mind
- RE: NDE Multimedia Resource Thread
- Dreams and classic songs
- RE: Dreams and classic songs
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- ESP and the U.S. Government
- Re-evaluating the ET hypothesis: Dolan and Friedman
- RE: Conspiracy Theory or History? That is the question.
- Ghosts or time travel? - "the Ghosts of Petit Trianon"
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- RE: Conspiracy Theory or History? That is the question.
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- Dr. Alan Vaughan
- RE: Cosmopsychism
- RE: Aug 2016: Jedi Is One Of The Fastest Growing Religions In Australia...
- The Song of Bernadette
- RE: The Song of Bernadette
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- RE: Animal consciousness survival
- The Clashindarroch Beast is found... and it's a cat
- General Patton
- RE: Bernardo Kastrup: The Next Paradigm
- From NDE to OBEs: Todd Acamesis
- The Golden State and Zodiac Killers
- Druze 3-year-old remembered past life; murder weapon and location of body found
- RE: Japanese ‘UFO Boy’ Communicates With UFOs Via Telepathy
- The science of coincidences
- David Chalmers - The New Meta Problem of Consciousness
- RE: Michael Pollan on the science of how psychedelics can ‘shake your snow globe’
- A neuroscientist open to nonduality: Rudolph Tanzi
- Is falsifiability overrated?
- Rob & Trish MacGregor: synchronicity and precognition
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- Idealism vs. Emergent Spirituality debate
- Audio Of Pilot's Encounter With Strange Object Over New York Surfaces
- Scientific study of the Shroud of Turin
- Robert Lanza - biocentrism vs. the "dumb universe" paradigm
- RE: My Pesky Scotsman
- Jonathan Wells: Zombie Science
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- RE: Multimedia Resources Thread - Deathbed Visions & ADCs
- Psychiatry and spirit release therapy
- RE: Multimedia Resources Thread - Deathbed Visions & ADCs
- Crows using vending machines
- RE: Psi Multimedia Resources Thread
- Doug
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: Multimedia Resources Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: NDE Multimedia Resource Thread
- RE: OBE Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: Death is the end
- RE: Cultural Marxism?
- RE: NDE Multimedia Resource Thread
- RE: President Trump
- RE: Psi Multimedia Resources Thread
- Video Shows Restaurant Furniture Moving On Its Own
- RE: What are you listening to?
- RE: The Mueller Investigation
- RE: Giza Pyramid
- Video: 2017 Hurricanes and Aerosols Simulation
- RE: Psi Multimedia Resources Thread
- The Amerikan police state in action
- RE: Reincarnation Multimedia Resources Thread
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- RE: President Trump
- RE: Ghosts or time travel? - "the Ghosts of Petit Trianon"
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: The Amerikan police state in action
- RE: Reincarnation Multimedia Resources Thread
- RE: The Song of Bernadette
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- Typoz
- RE: Reincarnation Multimedia Resources Thread
- RE: What are you listening to?
- RE: 6.37 sigma replication of Dean Radin's double slit consciousness experiments
- RE: What are you listening to?
- RE: Flatliners
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: Humor
- RE: What are you listening to?
- RE: What are you listening to?
- RE: Darwin Unhinged: The Bugs in Evolution
- RE: Jokes, Humour & General Smartassness
- RE: What are you listening to?
- Title missing
- RE: Multimedia Resources Thread
- RE: Reincarnation Multimedia Resources Thread
- RE: INFO about newly installed plugins, themes, & other features
- RE: What are you listening to?
- RE: What are you watching?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- 100 Reincarnation Cases In Pingyang
- RE: What are you listening to?
- RE: Reincarnation Multimedia Resources Thread
- diverdown
- Stan Woolley
- k9! [account deleted]
- Pollux
- RE: Stupid Chicken
- RE: What are you listening to?
- RE: What are you listening to?
- A tree-grove in a giant symbiosys
- Golden Ratio & The Fibonacci Sequence
- RE: What are you listening to?
- RE: What are you listening to?
- It's like Hell opened one of its gates....
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: Lucid dream experiences
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: Lucid dream experiences
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- Death by Dancing!!
- RE: VIDEOS: Strange, Mysterious, Haunted, Unexplained, Funny, Weird
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- Ghost...do you have 'em
- RE: Ghostwatch
- RE: Why are these 32 symbols found in caves across Europe?
- RE: Giza Pyramid
- RE: Giza Pyramid
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are the X-Risks?
- RE: What are you listening to?
- It was these two movies....
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: Glowing Auras and ‘Black Money’: The Pentagon’s Mysterious U.F.O. Program
- RE: What are you watching?
- RE: You might wanna watch this...or not...
- RE: What are you listening to?
- RE: President Trump
- RE: VIDEOS: Strange, Mysterious, Haunted, Unexplained, Funny, Weird
- RE: VIDEOS: Strange, Mysterious, Haunted, Unexplained, Funny, Weird
- RE: VIDEOS: Strange, Mysterious, Haunted, Unexplained, Funny, Weird
- Poltergeist Phenomenon - a compilation of different cases
- RE: Poltergeist Phenomenon - a compilation of different cases
- RE: Poltergeist Phenomenon - a compilation of different cases
- RE: Poltergeist Phenomenon - a compilation of different cases
- RE: Poltergeist Phenomenon - a compilation of different cases
- RE: Poltergeist Phenomenon - a compilation of different cases
- RE: What are you listening to?
- RE: What are you listening to?
- RE: Conspiracy Theory or History? That is the question.
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: You might wanna watch this...or not...
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: What are you listening to?
- RE: VIDEOS: Strange, Mysterious, Haunted, Unexplained, Funny, Weird
- Music while driving...
- RE: Stupid Chicken
- Chris
- RE: Manamana
- The Academy for the Advancement of Postmaterialist Sciences
- RE: Criteria For Interviewees
- RE: Psi Multimedia Resources Thread
- RE: What are you watching?
- RE: Random forum fighting thread
- RE: What are you listening to?
- RE: Humor
- RE: What are you watching?
- RE: Humor
- RE: Psi Multimedia Resources Thread
- RE: Psi Multimedia Resources Thread
- RE: What should forum policy be on defamatory posts?
- RE: Psi Text Resources Thread
- RE: Chess Match with the Dead
- RE: Remote Viewing and Statistical Validation
- RE: Manamana
- Kamarling
- souvik_SPI
- Steve001
- Pssst
- Max_B
- malf
- Sparky
- jkmac
- RE: Physical mediumship: apports through the mouth
- RE: Lucid dream experiences
- RE: How the Peer-to-Peer Simulation Hypothesis Explains Just About Everything
- RE: It's like Hell opened one of its gates....
- RE: The Academy for the Advancement of Postmaterialist Sciences
- RE: Peter Fenwick interview +others.
- RE: Physical mediumship: apports through the mouth
- Mazda
- E. Flowers
- Bucky
- Will
- Titus Rivas
- tim
- nbtruthman
- Jim_Smith
- RE: President Trump
- RE: Gun Control
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Is Alex Jones a Jesuit & CIA disinfo agent?
- RE: Cultural Marxism?
- RE: Is Alex Jones a Jesuit & CIA disinfo agent?
- RE: Former NPR CEO goes on a road trip through flyover country.
- RE: Las Vegas massacre shooting
- RE: President Trump
- The cover up of Polynesian History
- RE: Gun Control
- RE: Hacking your brain chemistry
- RE: President Trump
- Hurmanetar
- RE: Cultural Marxism?
- Global Warming (or lack therof)
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Is Alex Jones a Jesuit & CIA disinfo agent?
- RE: Is Alex Jones a Jesuit & CIA disinfo agent?
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Sutherland Springs
- RE: What are the X-Risks?
- RE: Las Vegas massacre shooting
- RE: The Amerikan police state in action
- RE: What if AI works?
- Singularitynet - Dr. Ben Goertzel
- RE: QAnon
- RE: Cultural Marxism?
- Slorri
- The World Order, a.k.a. The New World Order.
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Bin Laden
- RE: Bin Laden
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- Hermit of Loreto
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- RE: Las Vegas massacre shooting
- Boston marathon bombings 2013
- Remote Viewing and Statistical Validation
- RE: When was Elohim changed into God?
- RE: Las Vegas massacre shooting
- The World Order, a.k.a. The New World Order.
- Roberta
- Reece
- Doppelgänger
- Michael Larkin
- Mediochre
- berkelon
- darkcheese
- Oleo
- Brian
- dpdownsouth
- Vortex