![]() |
Quote:
I pasted this into the widget where you placed it: if (!in_array($recent_thread[forumid], array(105,83,121,110,82,112,109,101,102,72))) { and then changed the forum id to the forum I want hidden: if (!in_array($recent_thread[Moderators Area], array(105,83,121,110,82,112,109,101,102,72))) { How do I do it the right way??? Thank you in advance cuz I really like this widget!!! :) |
If you want forum id's 1,2,3,4 hidden then it would look like this
if (!in_array($recent_thread[forumid], array(1,2,3,4))) { |
Awesome, but it did not work for me. :( I tried 3 times.
Here is the error I am getting: Parse error: syntax error, unexpected $end in /home/content/32/5565332/html/forums/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 39 |
Thanks, I finally got it.
|
I am sorry to bug you all again, but now the "last post by:" is white, which does not show on the white background of this widget.
Can you tell me what sylvars or coding to change the background (not the font) to the same color as my board? Thanks in advance.... Here is my CMS page: http://www.englishbulldognews.com/forums/content.php I have the new widget on the bottom of the page until I get it up and running properly to replace the 4.02 standard one, so scroll down plz... :) |
change the font colors in the script, i had to modify the colors to make it look right with my theme. sorry i forgot to remove those parts out.
|
Quote:
|
Make sure you use the entire code, don't just add the code to the original. Same thing happened to me until I earased and used the entire code.
|
ya.. its not just one line there is a bracket at the bottom your missing, which doesnt properly close the script.
|
Quote:
|
Quote:
|
How do I change the back ground color of the widget? Mine is currently white with blue/grey shaded in between threads.
Also, how do I increase the amount of recent threads showing? Right now I only show 8, would like to see 20. Also, how to add a "go to last post" button to it? Thanks in advance! |
updata the arabic>>>
Quote:
thankx |
Can help me someone with this...?
I have Parse error: syntax error, unexpected T_STRING, expecting ']' in /home/xxxxx/public_html/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 19 and i put this Code:
if (!in_array($recent_thread[Hidden Area], array(132,257,268))) { |
Quote:
|
Quote:
Code:
if (!in_array($recent_thread[forumid], array(132,257,268))) { Parse error: syntax error, unexpected $end in /home/xxxxx/public_html/packages/vbcms/widget/execphp.php(177) : eval()'d code on line 4 |
^ That error usually means you're missing a closing } before the php end tag (?>).
|
Quote:
Code:
} |
Thank you for sharing Cory. This is what I looking for..installed :).
|
Can anybody figure out how to make this widget scroll? vertical, not horizontal marquee.
|
Gread job! installed.
|
I can't get the widt to work, do i enter it as a php direct execution?
Also - do i just copy and paste the code on the OP literally? without any changes? Or... would i have to add forum sections / ids in there. |
Great widget ;) Where do we edit the styles for it? Thanks in advance
Sorry see it now in the actual code. How would i make the title larger and bold, sorry for noob Q :) |
Can this widget be placed on a regular site page (not in vb)? I would like a widget of recent threads on my home page at www.englishbulldognews.com
Thanks! :) |
Quote:
The script I posted you can throw that into its own php file as well as externally use it on another site if you know how ofcourse. That script should work for CMS and vBA CMPS and also should work outside vbulletin forums :) Example: http://www.freefrag.com Outside Example: http://freefrag.com/outsidesample.php (no css on this one :P but you can stylize it still) |
many tahnx installed but onle showed the date
|
axix you put the coding in the description that means, go back into your widgets and make sure you click on configure to add the code in the proper area.
|
How to hide some forums id ?
widget displays all forum threads but I have some invisible area on my forum... how to except some id's ? |
Quote:
sql: FROM " . TABLE_PREFIX . "thread AS thread LEFT JOIN " . TABLE_PREFIX . "forum AS forum ON ( forum.forumid = thread.forumid ) WHERE NOT ISNULL(threadid) and forum.forumid not in(82,41,159) AND visible = '1' AND open!='10' ORDER BY lastpost DESC LIMIT 0, 15 |
Can anybody replace "Last Post By: - Forum: and Posted:" with the vb:phrase code?
Thx |
Quote:
I have no idea why the author hasn't yet updated the first post or at least mentioned the exclusion option. |
Quote:
I will get that updated... I am currently retiring from the military, establishing a new home, and looking for a J.O.B. while also trying to finish up my degree. LOL... I miss a lot of the posts sometimes. |
Thanks! Yes, we all understand B.U.S.Y.! But while you're updating, you may also want to mention that removing the ! from that line will make it an inclusion list.
|
thanxx installed + 5 stars
|
Installed! Worknig out of the box!
(Yes, to use this widget, your create a new PHP direct execusion widget, save it, open Configure link for it, copy and past the code (may 13:th 2010) unchanged) Someone with more vB knowledge than me could surely change the SQL query so that only the postings that the current user has rigts to see, will be displayed. Then members of restricted forums could also see those postings from those forums. |
Hey, it's any way possible to show the "go to last post" button?
Great alternative for default VB widget, installed! :D |
I would also like "go to latest post" option, and I was also wondering if it is possible to change the code so that it shows recent threads from one spesific user (I really need this for some sub-pages I am making).
I would really appreciate any help making this possible. |
I have vb 4.0.3 and the vb_date is not working, only the time is working.
In the position of the date, it shows always M jS. Any ideas?? Thanks [Fixed] |
It seems the widget is configured to pull out the last 24 hours of threads. My forum is not that busy yet (hopefully soon), can we pull 2 days worth instead? How do I change that?
Go to last post button would be nice too. :) |
Quote:
|
All times are GMT. The time now is 04:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|