Thought I'd share a shortcut with you. You've probably seen Tampermonkey (or Greasemonkey) before. This one adds my favourite shortcuts to the DW nav: ![Capture.PNG](/attachments/large/0/a523e242c3ad5b48d003f139fd482a46.PNG "align-center") Here's the easy script: // ==UserScript== // @name DIAFOL_BAR // @include https://www.daniweb.com/* // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js // @grant GM_addStyle // ==/UserScript== $("nav .navbar-nav").append ( '<li><a href="/programming/web-development/6">WP</a></li><li><a href="/community-center/3">CC</a></li>');

Member Avatar
Member Avatar
+2 forum 11

Sorry there's no wordpress section. So I posted here. Need to build archive page for custom taxonomy as below: **Archive** July 2015 June 2015 Thanks in advance.

Member Avatar
Member Avatar
+0 forum 1

I have designed my own template and now i want to add that template to opencart so that i can use the ecommerce features of the open cart so can any one explain me how is it possible or else give me the link of best website which gives me tutorials on it.

Member Avatar
Member Avatar
+0 forum 1

Hello, I am struggling at trying to get custom fonts working in my application. I have added the font file to the project's resources via the 'Add Existing File...' option, and setup the following code... > FontFamily standard; Font wt; > [DllImport("gdi32.dll", ExactSpelling = true)] private static extern IntPtr AddFontMemResourceEx(IntPtr pbFont, uint cbFont, IntPtr pdv, [In] ref uint pcFonts); private Font getWetDreamsFont() { byte[] theFont = Properties.Resources.Wet_Dreamz_Medium; int length = Properties.Resources.Wet_Dreamz_Medium.Length; IntPtr ptrData = Marshal.AllocCoTaskMem(length); Marshal.Copy(theFont, 0, ptrData, length); uint cFonts = 0; AddFontMemResourceEx(ptrData, (uint)theFont.Length, IntPtr.Zero, ref cFonts); PrivateFontCollection pfc = new PrivateFontCollection(); pfc.AddMemoryFont(ptrData, length); Marshal.FreeCoTaskMem(ptrData); standard = pfc.Families[0]; wt …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, so I need to know how to add Products programtically without getting this error. Fatal error: Call to a member function getPosition() on a non-object in \app\code\core\Mage\Bundle\Model\Product\Type.php on line 854 This is my code: class TCK_Forty_CartController extends Mage_Core_Controller_Front_Action { public function addAction() { $prdId = $this->getRequest()->getParam('product'); $cart = Mage::getModel('checkout/cart'); $cart->init(); $_return = array('code' => 0, 'message' => 'Something went wrong...'); if (!empty($prdId)) { $product = new Mage_Catalog_Model_Product(); $product->load($prdId); if ($product->getTypeId() == Mage_Catalog_Model_Product_Type::TYPE_BUNDLE) { $typeInstance = $product->getTypeInstance(true); $optionCollection = $typeInstance->getOptionsCollection($product); $selectionCollection = $typeInstance->getSelectionsCollection( $typeInstance->getOptionsIds($product), $product ); $this->_options = $optionCollection->appendSelections($selectionCollection, false, Mage::helper('catalog/product')->getSkipSaleableCheck() ); $bundle_option = array(); foreach ($this->_options as $key …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, I am attempting to make a custom control similar to a tooltip however I am not sure exactly how to produce the effect I desire. My goal is to have a popup, which is shown when the mouse hovers over a control, that contains some message and is shown at the top center of the hovered control with a triangle "pointer" overlapping onto the control (See illustration). ![e42e24cd2b1615ad81ffe8932e7d2467](/attachments/small/4/e42e24cd2b1615ad81ffe8932e7d2467.png "align-left") I would like the popup to automatically be sized to the text contained within padded by a few pixels; I know this is possible using the `Graphics.MeasureString()` function. I …

Member Avatar
Member Avatar
+0 forum 2

Hi guys, I need to build an ecommerce site for a client and I have the general design figured out but I can't find a solution that works for me. I need to be able to adapt the html/css to my design as well as have a search engine, that I can customize the look of the results. I have looked at several solutions but they either have a limited trial period or are too complicated for me to get them off of the ground. I am new to ecommerce and was hoping someone had some advice for a solution …

Member Avatar
Member Avatar
+0 forum 17

Hello! I was creating a custom array class as an exercise in my exploring of class and function templates. Here's my header file: #include <iostream> template <typename el> class Array { friend std::ostream &operator<<(std::ostream&,const Array&); friend std::istream &operator>>(std::istream&,Array&); public: Array(const int& arraySize=0); //set all members of array with size arraySize to NULL Array(const Array&); ~Array(); //destructor size_t getSize() const; //return size const Array &operator=(const Array&); bool operator==(const Array&) const; bool operator!=(const Array&) const; el &operator[](int); //returns modifiable lvalue el operator[](int) const; //returns non-modifiable rvalue private: size_t size; //ptr-based array size el* ptr; }; After I created the header file, I …

Member Avatar
Member Avatar
+0 forum 15

Hi Group! I'm curious to know, is it is possible to build a custom control in Visual Basic? Specifically, I want to build a control that would be similar that would be similar to a ListView (in the Detail "view"). However the difference would be in how it actually displays. Whereas the ListView displays selected data in horizontal manner one line at a time, I would like to display the data over 3 lines with the fields in varible widths. I've created a 'Panel' in the past with multiple TextBoxes to make up my "ListView". However I wasn't happy the …

Member Avatar
Member Avatar
+0 forum 2

I have a code that i have made that appends a file then uploades the output of the appending to my websites database. In the code i have 2 def statements that i would like to put into modules. I was wondering if omeone could tell me a simple way to do this because i have searched online and keep finding different ways of doing it and none make sence to me. Any help will be greatly appriciated thank you.

Member Avatar
Member Avatar
+0 forum 1

hello everyone, I need to add custom text on my uploading image ,any jquery or wordpress plugin is for that??

Member Avatar
Member Avatar
+0 forum 6

Hi All, I am developing something for a client and I urgently need this solved. My client has a Magento store, which has several categories (say CatA and CatB). If someone purchases an item from CatA, I need Magento so send an email to admin@example.com. Is this possible? If so, how could I do it? *Thanks*

Member Avatar
+0 forum 0

Heelloooo good day. Thanks for seeking to help. I am creating a Java program(obviously). At the end of my work I wish to install it as (a)an .exe file. However I wish that after its installation, file type association would have been setup automatically(I phrased that latter part of the statement like that, because I'm not sure if file association can be coded, or if it must be accomplished via other tools). I have ruled out JWS(Java Web Start) though. SO once again: 1. Program must be a(an) .exe file. 2. And the installation process should seamslessly create the file …

Member Avatar
Member Avatar
+0 forum 6

Oh boy They ust be tired of me now. My trouble: I have two ArrayLists of custom classes. ``ArrayList<Subject>` **a**` ``ArrayList<Student>` **b**` Within those custom classes are other custom classes which themselves have primitive data types as well as an ArrayList of other custom classes. It's a big circus going on. How do I XMLEncode those two ArrayLists, **a** and **b**, so that all the information within them branching all the way down, is saved? (Also, is it possible to save both of these to the same file please?)

Member Avatar
Member Avatar
+0 forum 4

Hi guys, I recently purchased a domain that I will use for my website. I was wondering how can I set it up so I can have an email like admin@mydomain.com

Member Avatar
Member Avatar
+0 forum 3

Hello good day. Here is my problem: I have retrieved some a couple sets of data from my sql database and saved them in ArrayLists of (custom)types <Student> and <Subject>. I am using a single Table. I want to create a custom AbstractDataModel that displays the data from the ArrayList<Student>. The data that comes from ArrayList<Student> are simply Strings, and this constitutes half of the table. The other half of the table is populated by the user editing the cells via JComboBox editor. These choices are used to carry out calculations in order to populate the ArrayList<Subject>. Problem is, all …

Member Avatar
Member Avatar
+0 forum 6

So I'm making a custom text editor for web development. I am planning to unclude the use of projects to group common files together, however im having a hard time going about it. I have a form that when opened, will give the user options to create a new project such as title, type (text, html, php etc), location to save and such. When the project is created I can get the folder to save, and a project file (contains information about the project just create) is created in the new folder. Im having a hard time using the tree …

Member Avatar
Member Avatar
+0 forum 7

I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); double chance = Double.parseDouble(String.valueOf(value)); if (chance > 80) { c.setBackground(Color.green); console_TA.append("Worked!\n"); } else if (chance >= 50 && chance < 80) { c.setBackground(Color.yellow); } else if (chance >= 25 && chance < 50) { …

Member Avatar
Member Avatar
+0 forum 8

Hi all Im having a struggle here. I know very basic Jquery, and are reading up on on the YouTube API, but I cant seem to find how to do this. I downloaded a script for a custom YouTube player, and everything is good. I modified it to my needs. The problem is, I want to make a callback when the video has ended but I dont know how to call it in. I want to write a script that redirects me to the next video when the current one has ended. Heres the code for the custom player: (function …

Member Avatar
Member Avatar
+0 forum 4

Hi, I am planning to build a budget gaming PC with the price limit of roughly £400. I have found a group of components that add up to make roughly £350 and I was wondering whether these components are worth there money, if it will be good enough to play games well on medium graphic settings and what needs upgrading for future proofing. The aim is to build a cheap PC and as o gain more money I can buy better components as the next gen comes out. Here are the components minus the PSU: http://uk.pcpartpicker.com/part/western-digital-internal-hard-drive-wd10ezrx http://uk.pcpartpicker.com/part/patriot-memory-psd34g13332s http://uk.pcpartpicker.com/part/asus-motherboard-f2a85vpro http://uk.pcpartpicker.com/part/amd-cpu-ad641xwngxbox http://uk.pcpartpicker.com/part/asus-video-card-gtx650e2gd5

Member Avatar
Member Avatar
+0 forum 1

I am trying to add a custom widget dynamically, multiple times. However, the widgets just stack up in the same place. I have tried several combinations of Layout() and Fit() and setSizerAndFit() after adding custom widget to the sizer Thank you for any help #!/usr/bin/env python # -*- coding: US-ASCII -*- # # generated by wxGlade 0.6.8 # import wx # begin wxGlade: dependencies import gettext # end wxGlade # begin wxGlade: extracode # end wxGlade class WordGroup(wx.Panel): def __init__(self, parent, id): wx.Panel.__init__(self, parent, id) self.parent = parent self.text_ctrl_1 = wx.TextCtrl(parent, wx.ID_ANY, "", style=wx.TE_MULTILINE | wx.TE_NO_VSCROLL) self.label_1 = wx.StaticText(parent, wx.ID_ANY, …

Member Avatar
Member Avatar
+0 forum 1

Hello everyone, I have a website I am working on. On this site, I have a form that when you search for just one term, say "legs", it is supposed to pull up everything that is "legs", but not "legs" with "stability ball". My form uses the search term q[] as its name. I will post that in a bit. So what I it to do is search the DB that I have called libvid, to pull the main content like "legs" then when you search additional terms like "stability ball", or "Shoulders" with "Resistance Bands" or even "Glutes", "legs" …

Member Avatar
Member Avatar
+0 forum 16

Does anybody know of a reason why a custom font would not load directly when a web page is loaded? When I visit the main page of my website, it uses a standard font instead of the custom font I selected, but if I then go to another page, that page *does* use the custom font, and when I then go back to the main page, the custom font is working all of a sudden. Anyone know how to fix this?

Member Avatar
Member Avatar
+0 forum 8

Hey i try to work on custom signal but i get an compiling error: QObject::connect: No such signal QLabel::changerSignal() in ..\textbasedrpg\FenPrincipale.cpp:173 But i seem to write exactly same thing in header and .cpp »That an big moment i try to see what i do incorrect but can't find. Same an QMake dosen't work I'll give the needed code. That worth more than words. Can the emit can be the problem? Wrong typo? Thank in advance .cpp #include <iostream> #include <fstream> #include <string> #include <vector> #include <QApplication> #include <QLabel> #include <QComboBox> #include <QMessageBox> #include <QLabel> #include <Qt> #include <QVariant> #include <QList> …

Member Avatar
Member Avatar
+0 forum 1

If I am given the exact coordinates of three vertices in image-space (as in, the numbers are not integers, but can be rounded to find their location on the screen), how can I determine which pixels are inside the triangle and should be colored? If you look at the diagram below it might clarify what I'm trying to do http://oi47.tinypic.com/eaktwi.jpg As you can see, the pixels which are mostly within the triangle are filled green. How can I do this in code?

Member Avatar
Member Avatar
+0 forum 4

Hello, How do I return the value of a custom property in Word 2007 using VBA? Depending on the custom property, I also need to automatically check a checkbox using VBA. Thanks!

Member Avatar
Member Avatar
+0 forum 2

I'm planning on building a new desktop probably in about a couple of months or so. I haven't been as updated with the newer parts and technologies as I was a few years ago due to changes in priorities (haven't lost love for computers though). I need suggestions on what specs would suit my needs as indicated below. Purpose: - Everyday browsing, facebook and probably some youtube streams for my daughter. I would also need it to be able to handle some newer games that might come out in the next year or so. So far I only play [World …

Member Avatar
Member Avatar
+0 forum 3

Hello! I'm trying to fill a Crystal Reports in a generic way. This is because I don't have direct access to the database, I just call a service that returns a DataTable. I'm no expert in C# or Crystal Reports, is there any way to fill a Crystal report without knowing the columns I'm receiving? This is what I've tried so far: dt = new DataTable(); dt = getData(); var rpt = new ReportDocument(); rpt.Load(@"CrystalReport1.rpt"); rpt.SetDataSource(dt); crystalReportViewer1.ReportSource = rpt; var paramFields = new ParameterFields(); var paramField = new ParameterField {Name = "col1"}; var paramDiscreteValue = new ParameterDiscreteValue {Value = "Descripcion"}; …

Member Avatar
+0 forum 0

Hi there, I am using the code below, which is bulked in with the "Keyring Social Importer" plugin for Wordpress, to import my Tweets on a regular basis as individual blog posts in my Wordpress blog. I would like to add a line of text within each created blog post, after the tweet, that says "Follow me on Twitter" with a link to my Twitter page. How could I achieve this? So, currently my posts look like this... Title Of Post = Tweet with 15 word limit and "..." after it. Content = Tweet in full. After the Tweet in …

Member Avatar
Member Avatar
+0 forum 14

I want to include an external php file in wordpress single.php file; conditional to existance of certain custom taxonomies. That file should only include if post is linked to specified custom taxonomies. If custom taxonomy terms do not exist for that post, then file should not appear. Thanks in advance;

Member Avatar
Member Avatar
+0 forum 1

The End.