Anthony Parsons
Well-known member
Cool... so is duration and sticky css available soon?
CSS hopefully soon yes
Looking forward to css and various sticky length duration options for users
Is it possible to also add the feature : pay additional money to have your sticky with a different background colour ? or something else to make it stand out more ?
View attachment 33267
- Support added for custom CSS on sticky threads.
- Set class on a per-node basis (use different CSS markup for differing nodes)
- CSS added via EXTRA.css
View attachment 33268
Demo at: http://p8ntballer-forums.com/forums/for-sale.55/
How we did it here: Under the for sale node we set the CSS Class to "stickyColor".
Then, added the following code to the EXTRA.css template to turn the text for Paid Sticky threads red....
Slav, can we have two options for prices/styles?
For example, if I wanted to offer a $5 for 7 days option with "blue text" and a $10 for 7 days option with "bold" AND "red text" ... how would I do that?
/* Paid Sticky Colours */
.stickyColor
{
margin: 5px 0;
padding: 5px 0;
border: 1px solid #cd87ff !important;
border-radius: 7px;
background: @flexileTabTwo !important;
background: @flexileTabTwo -moz-linear-gradient(top, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.73) 8%, rgba(255,255,255,0.66) 21%, rgba(255,255,255,0.57) 33%, rgba(255,255,255,0.18) 75%, rgba(255,255,255,0.02) 100%) !important; /* FF3.6+ */
background: @flexileTabTwo -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.75)), color-stop(8%,rgba(255,255,255,0.73)), color-stop(21%,rgba(255,255,255,0.66)), color-stop(33%,rgba(255,255,255,0.57)), color-stop(75%,rgba(255,255,255,0.18)), color-stop(100%,rgba(255,255,255,0.02))) !important; /* Chrome,Safari4+ */
background: @flexileTabTwo -webkit-linear-gradient(top, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.73) 8%,rgba(255,255,255,0.66) 21%,rgba(255,255,255,0.57) 33%,rgba(255,255,255,0.18) 75%,rgba(255,255,255,0.02) 100%) !important; /* Chrome10+,Safari5.1+ */
background: @flexileTabTwo -o-linear-gradient(top, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.73) 8%,rgba(255,255,255,0.66) 21%,rgba(255,255,255,0.57) 33%,rgba(255,255,255,0.18) 75%,rgba(255,255,255,0.02) 100%) !important; /* Opera 11.10+ */
background: @flexileTabTwo -ms-linear-gradient(top, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.73) 8%,rgba(255,255,255,0.66) 21%,rgba(255,255,255,0.57) 33%,rgba(255,255,255,0.18) 75%,rgba(255,255,255,0.02) 100%) !important; /* IE10+ */
background: @flexileTabTwo linear-gradient(top, rgba(255,255,255,0.75) 0%,rgba(255,255,255,0.73) 8%,rgba(255,255,255,0.66) 21%,rgba(255,255,255,0.57) 33%,rgba(255,255,255,0.18) 75%,rgba(255,255,255,0.02) 100%) !important; /* W3C */
color: #fff;
}
.stickyColor .posterAvatar, .stickyColor .stats
{
background: transparent !important;
}
.stickyColor a
{
color: #fff !important;
}
.stickyColor .stats dl dt, .stickyColor h3 a
{
color: #000 !important;
}
.stickyColor .itemPageNav a, .stickyColor .itemPageNav span
{
border-color: #fff !important;
color: #fff !important;
background: transparent !important;
}
Why am I getting a lot of this error in my log?
Error Info
ErrorException: Undefined index: stickyThreads - library/PaidSticky/ControllerPublic/Forum.php:15
Generated By: Unknown Account, 53 minutes ago
Stack Trace
#0 /home/ptsdforu/public_html/c/library/PaidSticky/ControllerPublic/Forum.php(15): XenForo_Application::handlePhpError()
#1 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(310): PaidSticky_ControllerPublic_Forum->actionIndex(Object(XenForo_RouteMatch))
#2 /home/ptsdforu/public_html/c/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch()
#3 /home/ptsdforu/public_html/c/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
["url"] => string(46) "https://www.ptsdforum.org/c/forums/-/index.rss"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.